[Israel.pm] Memory leak: finding who to blaim

Offer Kaye offer.kaye at gmail.com
Tue Aug 22 02:23:00 PDT 2006


On 8/21/06, Yona Shlomo wrote:
>
> Any suggestions how to easily pin point the guilty peace of
> code without having to manually disecting my code into
> little peaces that can be tested using a loop?
>

You could try Devel::Leak -
http://search.cpan.org/dist/Devel-Leak/Leak.pm

Note that profiling memory will usually require you to use a specially
compiled Perl, regardless if you use Devel::Leak, Purify, Gprof or
some other solution.

Cheers,
-- 
Offer Kaye



More information about the Perl mailing list