[OT] finding memory hungry bits of my code

Joel Bernstein joel at fysh.org
Thu Apr 9 10:37:15 BST 2009


On 9 Apr 2009, at 10:27, Edmund von der Burg wrote:

> Hello,
>
> I have some Perl code which is being naughty with its memory.

In a leaky sense?

> If this were a speed issue I'd throw Devel::NYTProf at it.
>
> What is the equivalent for memory usage?

Devel::LeakTrace, Devel::Cycle, etc for finding memory leaks and  
circular references.
Otherwise, maybe GTop if you just want to instrument your process for  
memory usage.

Can you give some more information as to the nature of the code and  
its naughtiness?

/joel


More information about the london.pm mailing list