in reply to Perl - release memory

One thing to try is to put your memory intensive code into a thread. The memory should be released back to the system (not just to Perl), when the thread terminates. Try to use the latest version of threads from cpan.

I'm not really a human, but I play one on earth Remember How Lucky You Are