Memory leaks

Nick Cleaton nick at cleaton.net
Sat Nov 28 05:38:52 GMT 2009


On Thu, 2009-11-26 at 15:41 +0000, london.pm at welikegoats.com wrote:
> Some code I have written appears to leak memory. I have been using
> Devel::Size on the likely candidates to locate it, but so far this has
> turned up nothing.
> 
> Does there exist an array that lists all of the variables currently in 
> scope that I could check? Or is there another module that people recommend 
> for debugging these sorts of problem? Finally, if the leak as really in 
> the Perl interpreter rather than my code, is there any way of detecting 
> this?

Test::LeakTrace has worked for me, I'd try that if you haven't already.




More information about the london.pm mailing list