Profiling Perl app memory usage

Nik Clayton nik at ngo.org.uk
Thu Mar 2 22:40:16 GMT 2006


Nik Clayton wrote:
> Nik Clayton wrote:
>> Is anyone aware of anything that makes it easier to portably track a Perl
>> app's memory usage?
> 
> [...]
> 
>> Walking through CPAN modules that match /devel/i and /prof/i I can't see
>> anything that can reliably extract this information.
>>
>> Anyone know of anything, or can suggest an approach?
> 
> Phil Pennock suggested I look at BSD::Resource, which seems to be a good 
> fit.  Thanks Phil.
> 
> So, here's Devel::Memory.

Scratch that.  Devel::Instrument::Memory.  Close-to-final, ready-for-CPAN 
code is at

http://jc.ngo.org.uk/svnweb/jc/browse/nik/CPAN/Devel-Instrument-Memory/trunk/

Comments?

N



More information about the london.pm mailing list