The present invention is directed to detecting leaks in computer memory.
Memory leaks are detected by analyzing computer component memory usage
records. The first derivative of the memory usage data is computed. If
the area under a curve created by a plot of the first derivative of the
memory usage data is greater than zero, the second derivative of the
memory usage data is computed. If the area under a curve created by a
plot of the second derivative of the memory usage data also is greater
than or equal to zero, the memory usage data is analyzed to determine how
many minima points are present in the memory usage data. If less than
four memory usage data minima points are present, a memory leak exists.
If four or more minima points are present in the memory usage data, the
minima points are further processed to determine if a memory leak exists.