3. The method of claim 1 , where the calculating memory usage statistics further comprises determining a shallow heap, and determining retained heap usages by traversing through dependency trees of the heap dump.
3. The method of claim 1 , where the calculating memory usage statistics further comprises determining a shallow heap, and determining retained heap usages by traversing through dependency trees of the heap dump. 4. The method of claim 3 , the determining of the shallow heap includes at least determining primitive values and sizes of the pointers to other objects.