Ovid has asked for the wisdom of the Perl Monks concerning the following question:
Assuming that I don't want to recompile Perl with -DDEBUGGING_MSTATS, what's the easiest way to determine memory usage on RH9 Linux (RAM and swap)? Is it to manually read the /proc/$$/statm file?
I'm playing around with tail recursion techniques and it looks like goto &code is leaking memory. This appears to be a known issue, even though perl561delta lists this problem as fixed and I'm using 5.8.0 (yeah, I know. I need to upgrade).
Cheers,
Ovid
New address of my CGI Course.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tracking Memory Usage
by adrianh (Chancellor) on Mar 28, 2004 at 19:53 UTC | |
by Ovid (Cardinal) on Mar 28, 2004 at 20:17 UTC | |
|
Re: Tracking Memory Usage
by zentara (Cardinal) on Mar 28, 2004 at 19:31 UTC | |
|
Re: Tracking Memory Usage
by strat (Canon) on Mar 29, 2004 at 11:38 UTC |