[jboss-user] [Installation, Configuration & Deployment] - Re: GC hell ?

PeterJ do-not-reply at jboss.com
Tue Jun 12 16:00:15 EDT 2007


Unfortunately I do not know of any way of asking the JVM to state what objects it is removing as part of a GC. Actually, during a GC the JVM considers only live objects - it never even looks at dead objects that it collects.

But you can take a heap dump - see http://java.sun.com/javase/6/docs/technotes/tools/share/jhat.html.

If you can take a dump before a GC, that should give some idea of what is in the heap.

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

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



More information about the jboss-user mailing list