Classifying leaks

You can classify memory leaks from the usage of Windows memory and the size of the Java™ heap.

The following scenarios are possible :

  • Windows memory usage is increasing and the Java heap is static:
    • Memory leak in application native code.
    • Memory leak in Java runtime native code.
    • Leak with hybrid Java and native objects (an unlikely occurrence).
  • Windows memory usage increases because the Java heap keeps growing:
    • Memory leak in application Java code.
    • Memory leak in Java runtime Java code.