Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re: Detailed memory dumps (leak hunting)

by Vennis (Pilgrim)
on Sep 24, 2002 at 13:12 UTC ( [id://200352]=note: print w/replies, xml ) Need Help??


in reply to Re: Detailed memory dumps (leak hunting)
in thread Detailed memory dumps (leak hunting)

Maybe one of them can be helpful, thank you. I've seen them before, but i'm not sure if they will be giving me the information i need.

This, because it might not be an unreclaimed object, most objects are consistant, but more of a forgotten re-initialised hash or something.

So i thought, by determing the size of the objects at different times i can localize the memory-monster.

I already wrote a global-variable-dump procedure that's useful in this case but i can't seem to determine the actual size of declared objects and used modules.

Q: Why did the Perlmonk cross the road?
A: He wanted to escape the match.

  • Comment on Re: Re: Detailed memory dumps (leak hunting)

Replies are listed 'Best First'.
Re: Re: Re: Detailed memory dumps (leak hunting)
by diotalevi (Canon) on Sep 24, 2002 at 13:30 UTC

    Well if I were me (and I am) I'd write something that uses B to account for at least the visible stuff. If that didn't work then some handy dandy XS code could walk the internals. I'm of course assuming you have already read the note in perldebguts on "Debugging Perl memory usage" and you need more detail... (if you haven't then obviously this is where you go first)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-24 08:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found