Wednesday, May 09, 2007

Sorting Large Files

I have an 800MB file that I load into memory line-by-line. I spit a resulting 800MB file line-by-line. I want the output sorted. Anyway to perform the sort without loading the entire file into memory at one time?