Erik Trulsson <[EMAIL PROTECTED]> writes: > Yep, it seems that GNU sort allocates a quite large buffer by default when > the size of the input is unknown (such as when it reads input from stdin.) > A quick check in the source code indicates that it tries to size this buffer > according to how much memory the system has (and according to any limits set > on how much memory the process is allowed to use.)
Uh, OK. This scaling doesn't seem to work correctly. It seems to allocate 27 MB on 32-bit machines and 54 MB on 64-bit machines, regardless of memory size. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"