How big is Data2014.txt?
I doubt that the out of memory problem is due to slurping that file into an array instead of looping over it line-by-line.
I suspect that the out of memory issue is related to the retrieval of the url/file. Instead of copying the content into one or more vars, I'd output it directly to the file.
EDIT:
The LWP::Simple module has a getstore() function that will simplify that process.
In reply to Re: Out of memory
by fishmonger
in thread Out of memory
by wrkrbeee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |