Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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?
[Lady_Aleena]: This evening, I thought to myself, "I would love to search Netflix for 100 randomfilms from my database to see if they have them." So I went to CPAN to see if there were a modiule which could do such a thing. There is, but GUH! ...
[Lady_Aleena]: ... Does it have to be that hard and complex to use to do a search on Netflix?
Lady_Aleena grumbles.

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2017-01-21 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (180 votes). Check out past polls.