Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Tracking Memory Leaks

by koolade (Pilgrim)
on Aug 14, 2001 at 22:40 UTC ( #104857=note: print w/replies, xml ) Need Help??

in reply to Tracking Memory Leaks

Data::Dumper is a good tool to help track down circular references. If you see something like:

$VAR1 = \$VAR1; or $VAR1 = [ $VAR1 ]; or $VAR1 = { key => $VAR1 };

Then you know you have something to fix.

Also, I've experienced a few problems w/ memory leaks in perl 5.6.0 and linux. e.g.:

eval "use Any::Module";

Leaks memory for me, and doesn't appear to with 5.6.1. But I haven't done enough testing to be definitive about that. Someone else might be able to tell you more about this.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2018-11-13 15:54 GMT
Find Nodes?
    Voting Booth?
    My code is most likely broken because:

    Results (156 votes). Check out past polls.