[jboss-user] [Performance Tuning] - Re: Tool to monitor JBOSS performance and object causing memory leak issue

Wolf-Dieter Fink do-not-reply at jboss.com
Fri Sep 9 08:17:07 EDT 2011


Wolf-Dieter Fink [http://community.jboss.org/people/wdfink] created the discussion

"Re: Tool to monitor JBOSS performance and object causing memory leak issue"

To view the discussion, visit: http://community.jboss.org/message/625735#625735

--------------------------------------------------------------
With jstat you will only see the memory in total.
If you gan figure out that the bottom line of memory is growing up and never come done this is an indication for a application memory leak.

You might try what Radoslav mentioned and dump the heap two times, e.g. after a while when JBoss was started and before crashing.
A comparsion between such dumps with jProfiler will show the what number of Objects are increasing.
But be aware that you must use more memory to analyze it.

Other option is to do it with jProfiler in a test environment, start the UseCase take a snapshot, start it again (fire a GC with jProfiler) and compare it with the snapshot.
It might be easier and do not harm the production environment.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/625735#625735]

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/20110909/bbeb8e50/attachment-0001.html 


More information about the jboss-user mailing list