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.2221. 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.2222. 

NameDescriptionRequiredInternal 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.2223. Metrics

NameTypeDescriptionInternal Name
Heap UsagemeasurementCurrent heap memory usage{HeapMemoryUsage.used}
Heap Usage PercentagemeasurementCurrent heap memory usage as percentage of committed heapCalculated.HeapUsagePercentage
Heap CommittedmeasurementCurrent heap memory allocated. This amount of memory is guaranteed for the Java virtual machine to use{HeapMemoryUsage.committed}
Non-Heap UsagemeasurementCurrent memory usage outside the heap{NonHeapMemoryUsage.used}
Non-Heap CommittedmeasurementCurrent memory allocated outside the heap. This amount of memory is guaranteed for the Java virtual machine to use{NonHeapMemoryUsage.committed}
Objects Pending FinalizationmeasurementThe approximate number of objects for which finalization is pending.ObjectPendingFinalizationCount
Heap Initial SizetraitThe amount of heap that the Java virtual machine initially requests from the operating system{HeapMemoryUsage.init}
Heap Maximum SizetraitMaximum 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 SizetraitThe amount of non-heap memory that the Java virtual machine initially requests from the operating system{NonHeapMemoryUsage.init}
Non-Heap Maximum SizetraitMaximum 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.2224. 

NameDescriptionRequiredInternal Name
VerboseOutput 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.2225. Metrics

NameDescription
Run Garbage CollectionRuns the garbage collector.

Package Types

none

3.9.3.1. JMX - Memory Pool Service

Overview

Table 3.2226. 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.2227. 

NameDescriptionRequiredInternal Name
Object Name  yes objectName
Name Template  yes nameTemplate
Description Template  yes descriptionTemplate
NameThe 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.2228. Metrics

NameTypeDescriptionInternal Name
UsedmeasurementCurrent memory usage{Usage.used}
CommittedmeasurementCurrent memory allocated{Usage.committed}
Initial SizetraitThe amount of memory that the Java virtual machine initially requests from the operating system{Usage.init}
Maximum SizetraitMaximum 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 NamestraitGarbage collectors for this spaceMemoryManagerNames
TypetraitPool locationType

Note

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