Re: BufferedInput/OutputStream and buffer size
Avinash Lakshman <[email protected]>
| Newsgroups | gmane.comp.windows.devel.java.advanced |
|---|---|
| Message-ID | <[email protected]> |
I am writing to a File i.e FileOutputStream is the stream that is backing the BufferedOutputStream. A >From: Bob Lee <[email protected]> >Reply-To: "Discussion of advanced Java topics." ><[email protected]> >To: [email protected] >Subject: Re: [ADVANCED-JAVA] BufferedInput/OutputStream and buffer size >Date: Sat, 18 Aug 2007 14:58:03 -0700 > >It depends on how you're writing and what you're writing to. Adding a >buffer >can actually slow things down. The best thing you can do is test your >particular situation. > >Bob > >On 8/18/07, Avinash Lakshman <[email protected]> wrote: > > > > Hi > > > > Has anyone ever run into this ? It looks like setting the buffer size to > > some really high value doesn't really help. Is it true that above the > > default size which is I guess is 2K, setting this size to anything >higher > > is > > of absolutely no use. Any experience or workarounds to setting the >buffer > > size to something like 64 MB. > > > > Thanks > > A > > > > _________________________________________________________________ > > More photos, more messages, more storageget 2GB with Windows Live > > Hotmail. > > > > >http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507 > > > > =================================== > > This list is hosted by DevelopMentor(r) http://www.develop.com > > > > View archives and manage your subscription(s) at > > http://discuss.develop.com > > > >=================================== >This list is hosted by DevelopMentor® http://www.develop.com > >View archives and manage your subscription(s) at http://discuss.develop.com _________________________________________________________________ Puzzles, trivia teasers, word scrambles and more. Play for your chance to win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com