1. A method for memory leak detection, comprising: obtaining raw free memory statistics; approximating free memory after garbage collection from the raw free memory statistics by: separating the raw free memory statistics into a plurality of periods, wherein each period includes possible garbage collection activity; and summarizing the raw free memory statistics in each period to a single data point, wherein the single data point approximates the free memory after garbage collection for that period; and analyzing the approximated free memory after garbage collection to identify a potential memory leak.