bronto has asked for the wisdom of the Perl Monks concerning the following question:
Hello
I was looking for a module (or a Linux program, if such a module doesn't exist) that could tell me how much memory a perl script is eating. I am not interested in the memory occupation of any single variable, so Devel::Size seems not to be an option.
In other options, I would like to do
perl -MMemory::Profiling::Module script.pland get an output about the memory occupation when script.pl ends
I took a look at http://search.cpan.org/modlist/Development_Support but I found nothing. I also saw this node, and I have a debugging-enabled perl, but I am unable to get the meaning of the output it produces
Can you help me anyhow?
Thanks in advance
Ciao!
--bronto
The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).
--John M. Dlugosz
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: memory profiling
by mirod (Canon) on Mar 24, 2004 at 14:44 UTC | |
|
Re: memory profiling
by borisz (Canon) on Mar 24, 2004 at 14:41 UTC | |
|
Re: memory profiling
by adrianh (Chancellor) on Mar 24, 2004 at 13:32 UTC | |
|
Re: memory profiling
by liz (Monsignor) on Mar 24, 2004 at 13:22 UTC | |
|
Re: memory profiling
by Aragorn (Curate) on Mar 24, 2004 at 13:09 UTC | |
|
Re: memory profiling
by tpederse (Sexton) on Oct 21, 2009 at 23:04 UTC |