more useful options | |
PerlMonks |
Re: Tracking memory of a running applicationby Elian (Parson) |
on Oct 24, 2005 at 22:27 UTC ( [id://502598]=note: print w/replies, xml ) | Need Help?? |
If you don't need exact size (that is, you only want to track the memory perl uses, and not the memory used by XS modules loaded, or libraries those modules use, and don't mind a little slop on top of that) you can use Devel::Size, hand it your top-level namespace pointer, and let it rip. It will use a pretty massive amount of memory itself as it runs, so don't be too surprised.
Usage is:
In Section
Seekers of Perl Wisdom
|
|