Thanks to all for your suggestions. The code to process these text files was developed long ago and I'd rather not reinvent the wheel. Right now, I'm trying to read the text file into the array in chunks, using a max line count safety value (e.g. 100,000) to limit memory use, and starting line...