Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Out of memory!by quester (Vicar) |
on Feb 07, 2007 at 08:34 UTC ( [id://598706]=note: print w/replies, xml ) | Need Help?? |
Two other possible, somewhat painful, approaches:
1. Step through the program with the debugger and check the memory size to see where you are in the code when it increases:
or, 2. Take a look at "Debugging Perl memory usage" in perldebguts and see if using PERL_DEBUG_MSTATS and Devel::Peek::mstat would help. ...but first look at the output of perl -V and see if it says "usemymalloc=n", in which case you won't have any memory statistics... :-(
In Section
Seekers of Perl Wisdom
|
|