in reply to Getting a memory dump

Some CPAN modules that might prove useful are:

Tracking down memory leaks at the C level can be done with a tool like valgrind, as discussed in Re: Valgrind, Perl, and banishing leaks.

Update: Added some more CPAN modules.

Replies are listed 'Best First'.
Re^2: Getting a memory dump
by lima1 (Curate) on Nov 23, 2007 at 12:26 UTC
    If you want to use Devel::Leak with recent Perl versions, apply this patch: http://rt.cpan.org/Public/Bug/Display.html?id=22587. Took me a few hours to find that out a couple of weeks ago. Otherwise the module complains about requiring a Perl recompilation with -DDEBUGGING and after that it still does not output anything with sv_dump().