Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sorting Problem



On Jan 21, 2004, at 15:43, Sean Ahern wrote:
> However, I don't think you'd want to pull all 2G of text data into 
> memory
> for the sort.  I would very much doubt if UNIX sort does out-of-core
> processing, which is what you really want for this sort (heh) of thing.
> You'd kill your computer with swapping.

I'd give it a try - people have been recommending GNU sort for at least 
a decade because it doesn't have arbitrary limits. The one thing I'd do 
is use -T to have it put temp files on a different drive than your 
system disk. Unfortunately the version Apple ships is old enough that 
it doesn't allow you to limit the main-memory usage directly (newer 
versions have a --buffer-size option) but it should be smart enough to 
take a fraction less than the total.

Chris

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
scitech mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/scitech
Do not post admin requests to the list. They will be ignored.

References: 
 >RE: Sorting Problem (From: "Dave Taflin" <email@hidden>)
 >Re: Sorting Problem (From: Sean Ahern <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.