|Just another Perl shrine|
Re: memory issuesby BrowserUk (Pope)
|on Jan 28, 2013 at 09:13 UTC||Need Help??|
The problem is that this line:
Rather that just testing if that value exists, it is autovivifying (creating) that value in the nested hashes and setting it to null.
If you change that line to:
It should prevent the runaway memory growth. As a nice side-effect, your program should run substantially faster also.
BTW. I assume you mean 32GB not 32MB?
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.