http://www.perlmonks.org?node_id=168744


in reply to Memory usage information

How to Calculate Memory Needs? has some related discussion.

I ended up relying on the Windows Task Manager to monitor mine. Nobody mentioned a way to do it within the script, though. Sounds like *that* is what you want.

Replies are listed 'Best First'.
Re: Re: Memory usage information
by svad (Pilgrim) on May 23, 2002 at 12:43 UTC
    Yes, that link has some related information, including
    (but not limited to :)
    - PERL_DEBUG_MSTATS
    - perl -V:d_mymalloc

    I will use those in my case.

    It's pity that perl does not have a possibility to acquire such information during execution (AFAIK, Java hase one, but I'm not sure). But I can live without that information provided I have great speed gains for ordinary programs execution :)
    Vadim