Apparatus and method for detecting memory leaks
AssigneeLakeside Software, Inc.
InventorMichael K. Schumacher
Life of this patent
Estimating the term…
Loading patent…
AssigneeLakeside Software, Inc.
InventorMichael K. Schumacher
Estimating the term…
A system and method for detecting memory leaks includes a monitoring agent, a user interface for configuring operating parameters and a reporting mechanism. The monitoring agent determines allocated memory levels of a monitored application at a sampling frequency and determines when a then-existing “peak” memory level has increased. The monitored application is determined to be leaking memory when a determined number of increases in the peak allocated memory level are detected. The determined number may be fixed ahead of time or may be calculated dynamically based on user specified parameters. When a given memory leakage rate is exceeded, an alarm response is taken, which may be either a specified notification of the alarm or an action. Certain increases in the peak allocated memory levels are ignored as not necessarily being indicative of a memory leak condition, such as during startup of the program or between rapidly, closely-occurring increases in the peak allocated memory level.
A method of detecting memory leaks for a program executing on a computer, said method comprising the step of determining when a peak allocated memory level has increased a determined number of times wherein said determined number of times defines an alarm limit, said determining step including the substeps of:
A method of detecting memory leaks for a monitored application program stored in a memory of and executing on a computer, said method comprising the steps of:
An apparatus for detecting memory leaks for an application program executing on a computer, said apparatus comprising:
Dependencies are inferred from the claim text.