|
|
| XP is just a number | |
| PerlMonks |
Re: Memory issue with Hashby zentara (Archbishop) |
| on Dec 02, 2012 at 11:40 UTC ( #1006709=note: print w/ replies, xml ) | Need Help?? |
|
If you really need to reclaim memory from a big hash, fork off the code, and let the fork do the work. When the fork's pid is terminated, all memory will be returned to the OS. It is a little more complicated to fork things off, but you get complete control over memory being returned. See Parallel::ForkManager and IO::Pipe for some helpful modules.
I'm not really a human, but I play one on earth. Old Perl Programmer Haiku ................... flash japh
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||