Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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!
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
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 wandering the Monastery: (11)
As of 2015-08-04 23:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (76 votes), past polls