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

Re^5: Memory leaks and circular references

by jdrago_999 (Hermit)
on Sep 07, 2008 at 01:05 UTC ( [id://709577]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Memory leaks and circular references
in thread Memory leaks and circular references

FIXED!

It turns out that by adding this to class Top the memory leakage (on Perl 5.10.0) went away.:
sub DESTROY { my $s = shift; undef(%$s) }

Replies are listed 'Best First'.
Re^6: Memory leaks and circular references
by Joost (Canon) on Sep 07, 2008 at 01:36 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2026-02-19 06:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.