Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 :)

Replies are listed 'Best First'.
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?
[enrgyxprt]: how do I delete a question
[Lotus1]: you can't but you can request to have it deleted.
[Lotus1]: you can edit it as long as you were logged in when you submitted it

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2017-01-17 13:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (156 votes). Check out past polls.