Java Memory Concepts

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Heap

The heap is the runtime data area in the JVM where all class instances and arrays are allocated. The heap is allocated when the JVM starts. The objects that are no longer in use are automatically reclaimed by a garbage collector.

Metrics reflecting heap usage are exposed by the Memory MBean, which can be obtained from the platform MBean server.

Non-Heap Memory

Memory Manager

Memory Pool