Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^5: leak detection in other (non-perl) processes

by Eliya (Vicar)
on Mar 23, 2012 at 20:17 UTC ( #961306=note: print w/ replies, xml ) Need Help??


in reply to Re^4: leak detection in other (non-perl) processes
in thread leak detection in other (non-perl) processes

As long as you don't set a fixed time frame for the observation/analysis, everything will be just a more or less useful heuristic.

Anyhow, I think you want to fit a trend line through the entire data1, and if it isn't flat, you likely have a leak.  This assumes the evaluation interval is (considerably) longer than the period of any cyclic behavior you might observe.

___

1 if you're worried about outliers, you might want to look for a statistics package that can compute the fit based on minimizing linear deviations, instead of squared deviations, as done in a standard "least squares" fit (see also LAD).


Comment on Re^5: leak detection in other (non-perl) processes

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (14)
As of 2014-11-24 21:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (147 votes), past polls