sort: avoid memory pressure of 130MB/thread when reading from pipe
authorJim Meyering <meyering@redhat.com>
Wed, 16 Mar 2011 15:09:31 +0000 (16:09 +0100)
committerJim Meyering <meyering@redhat.com>
Wed, 16 Mar 2011 15:30:02 +0000 (16:30 +0100)
commit4f591fdd0bb78f621d2b72021de883fc4df1e179
tree10faa8cd67855bc3a16cf439c3cb57df689fbc44
parent8e4e1d484f88502dbe9336050232a5f90e0b68d4
sort: avoid memory pressure of 130MB/thread when reading from pipe

* src/sort.c (INPUT_FILE_SIZE_GUESS): Decrease initial allocation
factor used to size buffer used when reading a non-regular file.
For motivation, see discussion here:
http://thread.gmane.org/gmane.comp.gnu.coreutils.general/878/focus=887
src/sort.c