Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Tracking Memory Leaks

by koolade (Pilgrim)
on Aug 14, 2001 at 22:40 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-03-29 11:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found