in reply to Massive Sorting

Perhaps you should try tying your hash, so you won't have to keep it in memory?

-- Dan