Red Hat Training

A Red Hat training course is available for Red Hat JBoss Operations Network

3.9.3. JMX - VM Memory System Service

Overview

Table 3.2000. Overview

Description: The memory system of the Java virtual machine including both the heap and non-heap memory.
Singleton: yes
Plugin: JMX

Child Resource Types

Connection Properties

Table 3.2001. 

Name Description Required Internal Name
Object Name yes objectName
Name Template yes nameTemplate

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.

Metrics

Table 3.2002. Metrics

Name Type Description Internal Name
Heap Usage measurement Current heap memory usage {HeapMemoryUsage.used}
Heap Committed measurement Current heap memory allocated. This amount of memory is guaranteed for the Java virtual machine to use {HeapMemoryUsage.committed}
Non-Heap Usage measurement Current memory usage outside the heap {NonHeapMemoryUsage.used}
Non-Heap Committed measurement Current memory allocated outside the heap. This amount of memory is guaranteed for the Java virtual machine to use {NonHeapMemoryUsage.committed}
Objects Pending Finalization measurement The approximate number of objects for which finalization is pending. ObjectPendingFinalizationCount
Heap Initial Size trait The amount of heap that the Java virtual machine initially requests from the operating system {HeapMemoryUsage.init}
Heap Maximum Size trait Maximum amount of heap that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size. {HeapMemoryUsage.max}
Non-Heap Initial Size trait The amount of non-heap memory that the Java virtual machine initially requests from the operating system {NonHeapMemoryUsage.init}
Non-Heap Maximum Size trait Maximum amount of non-heap memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size. {NonHeapMemoryUsage.max}

Note

You must use the internal name to reference Traits in Dynamic Group Definition expressions.

Configuration Properties

Table 3.2003. 

Name Description Required Internal Name
Verbose Output verbose information to the output stream to regarding Memory. Typically, a Java virtual machine implementation prints a message when it frees memory through garbage collection. yes Verbose

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.

Operations

Table 3.2004. Metrics

Name Description
Run Garbage Collection Runs the garbage collector.

Package Types

none

3.9.3.1. JMX - Memory Pool Service

Overview

Table 3.2005. Overview

Description: A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers.
Singleton: no
Plugin: JMX
Child Resource Types
none
Connection Properties

Table 3.2006. 

Name Description Required Internal Name
Object Name yes objectName
Name Template yes nameTemplate
Description Template yes descriptionTemplate
Name The memory pool's name yes name

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.
Metrics

Table 3.2007. Metrics

Name Type Description Internal Name
Used measurement Current memory usage {Usage.used}
Committed measurement Current memory allocated {Usage.committed}
Initial Size trait The amount of memory that the Java virtual machine initially requests from the operating system {Usage.init}
Maximum Size trait Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size. {Usage.max}
Memory Manager Names trait Garbage collectors for this space MemoryManagerNames
Type trait Pool location Type

Note

You must use the internal name to reference Traits in Dynamic Group Definition expressions.
Configuration Properties
none
Operations
none
Package Types
none