Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Depth First Search through Digraph Results in Memory Leak

by Elian (Parson)
on Jan 19, 2004 at 15:51 UTC ( #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.

  • Comment on Re: Depth First Search through Digraph Results in Memory Leak

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? | Other CB clients
Other Users?
Others meditating upon the Monastery: (1)
As of 2021-07-27 01:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?