Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Depth First Search through Digraph Results in Memory Leak

by Elian (Parson)
on Jan 19, 2004 at 15:51 UTC ( [id://322367]=note: print w/replies, xml ) Need Help??


in reply to Depth First Search through Digraph Results in Memory Leak

While I've not dug into it in any depth, odds are you're getting bit by a bug in perl's pad caching.

When you go recursive on a sub, it triggers a more aggressive caching scheme for the lexical pad for a sub, and it looks like as part of that a top-level pad's not getting cleaned up when it ought to be. (It's also possible this is triggering a cleanup delay/bug in the top-level pad)

If you can, try boiling this down as small as possible and fire it off as a bug report with perlbug.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-03-19 02:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found