A method for identifying memory leak causes is provided. The method
initiates with tracking a number of allocations of objects during a time
period. Potentially leaking objects are identified and object lifetime
tracking instrumentation is injected into the code to track potentially
leaking objects. Then, object lifetime logs are generated for each of the
potentially leaking objects. A computer readable medium and a system are
also provided.