Hi,
I've built some file sorting functionality into a java app, and it's designed to sort files larger than 20GB. The general approach is to read the file in chunks, sort each chunk in memory, then write it to its own temporary sorted file. On the second pass, I open all chunk files simultaneously and weave them together into a final sorted file.
I'm wondering if there are any practical limits I should be aware of when opening and reading a large number of files simultaneously?
On my own machine (Mac OS X), I've been able to read >250 files without issues. Perhaps someone is aware of limits that might apply to other platforms?
Thanks for your time.