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!