[jboss-user] [Performance Tuning] - Re: JBoss memory usage pattern
Peter Johnson
do-not-reply at jboss.com
Tue Feb 22 09:57:45 EST 2011
Peter Johnson [http://community.jboss.org/people/peterj] created the discussion
"Re: JBoss memory usage pattern"
To view the discussion, visit: http://community.jboss.org/message/589019#589019
--------------------------------------------------------------
The problem with using VisualVM in a production environment is that it is too heavy of a solution. VisualVM updates its status constanly (every second?). Most monitoring tools update status only every 5 to 15 minutes. Of course that is adjustable, but the more often you monitor the greater the impact on production.
If you are interested in gathering GC data during production, use -verbose:gc and redirect the data to a file (-Xloggc:<file>). That will give you sufficient data and you can turn -verbose:gc on/off from an MBean (a little java app run script a scrfipt could do this for you).
Here are some paper I wrote on GC analysis:
Java Garbage Collection Statistical Analysis 101
Java Garbage Collection Performance Analysis 201
at http://www.cmg.org/cgi-bin/search.cgi?q=java+peter+johnson&x=30&y=10 http://www.cmg.org/cgi-bin/search.cgi?q=java+peter+johnson&x=30&y=10
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/589019#589019]
Start a new discussion in Performance Tuning at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2078]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110222/0c9a7624/attachment.html
More information about the jboss-user
mailing list