Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Looking for Leaks

by oakbox (Chaplain)
on Aug 09, 2001 at 22:46 UTC ( #103558=note: print w/replies, xml ) Need Help??

in reply to Looking for Leaks

I must have missed something, MeowChow;

Are you looking for a way to monitor your system within the script to make sure it isn't gobbling up too much memory?

Or are you looking for a tool that will help you identify where the leak is occuring within the script?


Replies are listed 'Best First'.
(MeowChow) Re: Looking for Leaks
by MeowChow (Vicar) on Aug 09, 2001 at 22:52 UTC
    I'm looking for the latter.
                   s aamecha.s a..a\u$&owag.print
      Well, isn't there a way/tool to, from the main section of the script, find out which memory locations aren't accessible? Everything should be accessible (except for closures) and all of that can be pointed out. You can then read through the output, mark off which you know to be closures, and then you have your answer...

      /me wants to be the brightest bulb in the chandelier!

      Vote paco for President!

        If things weren't accessible, how would you find them? At least in pure Perl, this would be impossible. You could iterate over all the symbol tables, following references to reachable objects, but this wouldn't find things that had leaked.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2023-03-28 04:42 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (66 votes). Check out past polls.