Hrunting has asked for the wisdom of the Perl Monks concerning the following question:

I've got a long-running perl process. I know that perl will use memory from deleted variables, so after a while I expect perl's memory usage to flat line, but it keeps rising and rising. Two questions:


What is the best way to quickly see what variables/references are using how much memory, a sort of memory snapshot if you will?