Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Busted: Strange memory leak question. Please help!

by sfink (Deacon)
on Sep 22, 2007 at 16:10 UTC ( [id://640532]=note: print w/replies, xml ) Need Help??


in reply to Busted: Strange memory leak question. Please help!
in thread Strange memory leak question. Please help!

That is not a good way to detect a memory leak. You are looking at the total free memory on the system, which could go up or down due to pretty much anything happening on that box. It only worked for you because the leak was so large.

Far better would be to find the pid of your process and run ps l on it periodically. Look at the VSZ column. If it never changes, then you don't have a leak.

  • Comment on Re: Busted: Strange memory leak question. Please help!

Replies are listed 'Best First'.
Re^2: Busted: Strange memory leak question. Please help!
by catsophie (Initiate) on Sep 24, 2007 at 05:27 UTC
    Thank sfink, I got it!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2024-04-25 21:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found