In a continuously running application, the following procedure enables memory leak
detection at any particular point during program execution:
Note: Besides apparent memory leaks, an application can have other types of leaks that
the memory Analysis tool cannot detect. These leaks include objects with cyclic
references, accidental point matches, and left-over heap references (which can be
converted to apparent leaks by nullifying objects that refer to the heap). If you
continue to see the heap grow after eliminating apparent leaks, you should manually
inspect some of the allocations. You can do this after the program terminates
(completes), or you can stop the program and inspect the current heap state at any
time using the debugger.