Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I've written a script that creates a few hashes which use ~5.4GB of RAM. The script seems to run to completion within about 15 minutes, and prints out a final "I'm done" line right before a final exit; statement. However, the script continues to run (100% processor) for another ~80-90 minutes before terminating.
Can anyone clue me in as to why this might be happening?
I've tried setting all the hashes to null, but that doesn't seem to free up any of the memory. I'm running this on a 64-bit machine with 16GB RAM.
Let me know if there is any other info I can provide. Thanks in advance for the help!
Jason
Can anyone clue me in as to why this might be happening?
I've tried setting all the hashes to null, but that doesn't seem to free up any of the memory. I'm running this on a 64-bit machine with 16GB RAM.
Let me know if there is any other info I can provide. Thanks in advance for the help!
Jason
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: High RAM script takes forever to terminate
by Fletch (Bishop) on Nov 19, 2008 at 21:47 UTC | |
by jgrundstad (Initiate) on Nov 19, 2008 at 21:52 UTC | |
Re: High RAM script takes forever to terminate
by grinder (Bishop) on Nov 19, 2008 at 22:16 UTC | |
Re: High RAM script takes forever to terminate
by ikegami (Patriarch) on Nov 19, 2008 at 21:57 UTC | |
Re: High RAM script takes forever to terminate
by gwadej (Chaplain) on Nov 19, 2008 at 23:26 UTC | |
Re: High RAM script takes forever to terminate
by toma (Vicar) on Nov 20, 2008 at 07:25 UTC | |
by jgrundstad (Initiate) on Nov 20, 2008 at 20:53 UTC |
Back to
Seekers of Perl Wisdom