You don't say which part runs out of memory, the load or the display.
In any case, it appears that you can divide and conquer .. try running the script on smaller chunks, then add the intermediate results together to get a final result.
--t. alexIn reply to Re: How can I make a hash use less memory
by talexb
in thread How can I make a hash use less memory
by kevyt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |