Monitoring Jboss AS

Latest response

We want to shoot a memory problem on Jboss AS. We want to understand what's going on now; before we start trying different solutions.

We are running Jboss 6.4.0 using Java 8 on Windows.

Please assume our software budget is zero. My company has no interest in spending money on anything. Ever.

Regards,
Kevin Kinney

Responses

  1. Enable heap dump on out of memory
  2. Use the Eclipse MAT (memory analysis tool) on resulting hprof file

Also, if you are using the Oracle JDK, add
-Xbootclasspath/a://EAP-6.4.0/bin/client/jboss-client.jar
so you can use Java Mission Control Flight Recorder.

John

(hit submit too soon)
-Xbootclasspath/a://EAP-6.4.0/bin/client/jboss-client.jar is added to %JAVA_HOME%\bin\jmc.ini and then you can use the remote JMX connection into your EAP server.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.