[jboss-user] [Performance Tuning] - VisualVM

PeterJ do-not-reply at jboss.com
Fri Sep 5 14:41:14 EDT 2008


Just a word of warning. I was playing around with VisualVM. I connected it to a running instance of JBossAS 5.0.0.CR1 that was not doing anything. Suddenly, the app server became active. The CPU usage was still relatively low, but every 20 seconds I was getting a garbage collection.

Apparently, just connecting VisualVM to a Java app causes objects and garbage to be created.

I checked JConsole and it does not exhibit this behavior. 

This behavior makes VisualVM a poor choice for monitor Java applications in production.

By the way, I was using the VisualVM from JDK 6u7, and I ran AS 5.0.0.CR1 on the same version.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174698#4174698

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174698



More information about the jboss-user mailing list