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

Yona Shlomo yona at cs.technion.ac.il
Thu Aug 24 04:37:43 PDT 2006


On Tue, 22 Aug 2006, Offer Kaye wrote:

> 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.

I check this out. Now very revealing, I'm afraid.

-- 
Shlomo Yona
yona at cs.technion.ac.il
http://yeda.cs.technion.ac.il/~yona/



More information about the Perl mailing list