http://qs321.pair.com?node_id=640532


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!