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

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

by sfink (Deacon)
on Sep 22, 2007 at 16:10 UTC ( #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!
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
Node Status?
node history
Node Type: note [id://640532]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2014-10-25 03:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (141 votes), past polls