HowCanIDisplayTheMemoryPoolUsage

How can I display the memory pool usage?

 

As of JBoss v3.2.8/4.0.2, the ServerInfo MBean registered under the name

jboss.system:type=ServerInfo has been enhanced with a new operation

listMemoryPools(boolean fancy) that presents information about the

memory pools managed by the JVM.

 

This is only available when running under JDK5+ compatible JVMs.

More information about the underlying APIs can be found

here

 

Calling the operation with a boolean value of true (the default), produces

a listing like the following:

 

 

If you don't want the text graphics just pass a boolean value of false,

in which case you'll only get the raw data:

 

 

For a description of the meaning of the provided statistics see

this.

 

Related

 

GenerateAThreadDumpWithTheJMXConsole

 

PermanentGeneration

 

Referenced by: