Re: Debugging Memory consumption for Perl Program



janicehwang1325@xxxxxxxxx wrote:

I would like to know is there any way to debug the memory consumption
of a perl program running? For example, I have a program running and i
would like to keep tract of the memory consumption of this program so
that I can retart the program if the memory consumption is going to
high. Thank you very much.

Yes, there are a number of techniques for that. See:

http://perldoc.perl.org/perldebguts.html#Debugging-Perl-memory-usage

--
Bart

.



Relevant Pages