Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Hunting for a memory leak

by Anonymous Monk
on Aug 08, 2012 at 03:13 UTC ( #986125=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Hunting for a memory leak
in thread Hunting for a memory leak

Thank you for this. I believe I need to start doubting the CPAN modules a little more.

Tk modules are notorious for leaks -- also , if the module builds any kind of tree, and grepping the source for "weak" returns no hits, 97/100 its leaking :)


Comment on Re^3: Hunting for a memory leak
Re^4: Hunting for a memory leak
by perldough (Sexton) on Aug 08, 2012 at 14:19 UTC

    That's interesting. Would you mind explaining why that is?

    Perldough

      That's interesting. Would you mind explaining why that is?

      Because that is just the way it is :) Trees means circular references (memory leak unless you take some steps), and Tk encourages both circular references and closures -- just look in the bug cue for any Tk- distribution, you'll see lot of reports of leaks

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2014-04-17 05:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (439 votes), past polls