Patent ID: 8037477
Filing Date: 2011-10-11
Classification: G06F

Abstract:
1. A method for detecting increasing memory consumption of an application program in a computer system, comprising: monitoring memory consumption at an allocation site, said allocation site being a location in said application program where a new object is created; updating an allocation site threshold value each time said memory consumption at said allocation site increases; splitting an application execution time into time periods; increasing a growth period counter each time said allocation site threshold value increases for said allocation site in a current time period, wherein the growth period counter indicates a number of growth periods, where each of the growth periods is a respective one of the time periods of the application execution time in which said allocation site threshold value increased; comparing said growth period counter to a growth threshold; if said growth period counter is greater or equal to said growth threshold, computing an elapse time, said elapse time being a difference between a current growth period and a previous growth period; comparing said elapse time to a time threshold; and if said elapse time is less than said time threshold, reporting said allocation site as a potential source of said increasing memory consumption.