Re: Figuring out which perl file is leaking memory

2009-06-12 Thread Perrin Harkins
On Fri, Jun 12, 2009 at 6:00 AM, Michael Gardner wrote: > The problem is that there are a lot of perl files to check out, and I > don't know which one has the leak. What I'm asking is whether there's a > way to figure out *which file* is leaking memory, without having to test > each file individual

Re: Figuring out which perl file is leaking memory

2009-06-12 Thread André Warnier
Michael Gardner wrote: William T wrote: There are some leak analysis modules that may help (Devel::Leak I think). I've tried using them in the past, but they haven't worked well for me for various reasons. I found commenting out early branch points allowed me (most of the time) to narrow down

Re: Figuring out which perl file is leaking memory

2009-06-12 Thread Michael Gardner
William T wrote: > There are some leak analysis modules that may help (Devel::Leak I > think). I've tried using them in the past, but they haven't worked > well for me for various reasons. I found commenting out early branch > points allowed me (most of the time) to narrow down where the leak was