Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Memory leak!by roboticus (Chancellor) |
on Dec 12, 2011 at 19:14 UTC ( [id://943165]=note: print w/replies, xml ) | Need Help?? |
Try calling Data::Dumper on each of your global variables inside your loop, and direct the output to a text file. Then look at the results when it crashes and see which variable is unexpectedly large. Then concentrate on the relevent bits of code. There are better ways to do it, but this one's quick and easy. ...roboticus When your only tool is a hammer, all problems look like your thumb.
In Section
Seekers of Perl Wisdom
|
|