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

Hi monks. I have searched and searched but cannot find an answer. Is there a module I can use to help me find the source of the memory leaks that are present in my mod_perl2 code. I know about Apache::Leak etc., but that expects mod_perl 1 (and tries to install is - via CPAN anyway). It is not present in the mod_perl2 distro. So, can anyone point me to some tools to help me find the memory leaks in mod_perl 2. BTW just in case it's mentioned; profiling (smallprof) and his ilk I have done already but that is not what I am after here. Thanks in advance. Dave.

Replies are listed 'Best First'.
Re: Finding memory leaks in mod_perl 2
by ginnie (Beadle) on Oct 22, 2008 at 08:19 UTC
    Devel::Leak::Object may be very useful (when you replace print with warn in it).
Re: Finding memory leaks in mod_perl 2
by Anonymous Monk on Oct 22, 2008 at 04:59 UTC