Lower the large-file threshold to 64K
commit6c8f2db31097998aaab21c05cab53b50bfc243c5
authorEric Wong <normalperson@yhbt.net>
Fri, 5 Sep 2008 01:53:14 +0000 (4 18:53 -0700)
committerEric Wong <normalperson@yhbt.net>
Tue, 9 Sep 2008 02:01:14 +0000 (8 19:01 -0700)
treeaf398bb7f05a9c75c43eb763c56c1be723037609
parent673861cd6fcb8f563de9c6300252d5ff290adee1
Lower the large-file threshold to 64K

Yes, I'm quite miserly when it comes to memory usage.  Since the
file is already on disk, just read it incrementally and stream
it out to avoid having to deal with potential memory exhaustion
issues on busy systems.  There's also no benefit to slurping
256MB and anything above 64K leads to diminishing returns on
most systems I've seen.
lib/mogilefs/mogilefs.rb