Use the following dotted name pattern for JVM memory statistics:
server.jvm.memory.statistic
The statistics that are available for memory in the JVM for Java SE are shown in the following table.
Table 8–21 JVM Monitoring Statistics for Java SE Memory
Statistic |
Data Type |
Description |
---|---|---|
committedheapsize |
CountStatistic |
Amount of heap memory (in bytes) that is committed for the JVM to use |
committednonheapsize |
CountStatistic |
Amount of non-heap memory (in bytes) that is committed for the JVM to use |
initheapsize |
CountStatistic |
Size of the heap initially requested by the JVM |
initnonheapsize |
CountStatistic |
Size of the non-heap area initially requested by the JVM |
maxheapsize |
CountStatistic |
Maximum amount of heap memory (in bytes) that can be used for memory management |
maxnonheapsize |
CountStatistic |
Maximum amount of non-heap memory (in bytes) that can be used for memory management |
objectpendingfinalizationcount |
CountStatistic |
Approximate number of objects that are pending finalization |
usedheapsize |
CountStatistic |
Size of the heap currently in use |
usednonheapsize |
CountStatistic |
Size of the non-heap area currently in use |