Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://104857]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2018-07-16 20:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (349 votes). Check out past polls.

    Notices?