Leaks

Nik Clayton nik at ngo.org.uk
Tue Apr 25 13:02:25 BST 2006


Dirk Koopman wrote:
> How does one detect memory leaks in perl? 
> 
> Specifically: I am getting reports that there is some kind of memory
> leak in a piece of network related pure perl code that I have written.
> Now, since this is a very old piece of code written when I was less
> clueful, it would not altogether surprise me. 
> 
> It will some hash with a circular reference that I am not breaking or
> something like that. Any suggestions as to how to go about finding it?

Devel::Cycle?

I saw Test::Memory::Cycle go by on perl-qa the other day.  Not sure if 
it's on CPAN yet -- if not, the archives should have it.

N


More information about the london.pm mailing list