Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to Memory leak!

joeymac:

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://943165]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-25 20:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found