in reply to
How to locate a memory leak..
Once you load something into memory, the memory will remain allocated. The array is most likely the problem here. Try to load less at one time, reading the file in chunks.
Comment on
Re: How to locate a memory leak..
In Section
Seekers of Perl Wisdom