Sun GlassFish Message Queue 4.4 Developer's Guide for JMX Clients

Attributes

The JVM monitor MBean has the attributes shown in Table 3–89. The names of these attributes are defined as static constants in the utility class JVMAttributes.

Table 3–89 JVM Monitor Attributes

Name 

Type 

Settable? 

Description 

TotalMemory

Long

No 

Current total memory, in bytes 

InitMemory

Long

No 

Initial heap size at JVM startup, in bytes

FreeMemory

Long

No 

Amount of memory currently available for use, in bytes 

MaxMemory

Long

No 

Maximum allowable heap size, in bytes 

Any memory allocation attempt that would exceed this limit will cause an OutOfMemoryError exception to be thrown.