[jboss-dev-forums] [Design of EJB 3.0] - Re: Classloading problem in proxy factories

bstansberry@jboss.com do-not-reply at jboss.com
Mon Sep 8 16:06:17 EDT 2008


Adrian, I assume you are referring to the "forceReleaseOnSoftReferences()" method in JVMTIInterface?  Yes, that does deliberately fill memory until OOME if necessary, and then forces a GC to try to recover.

The "[JVMTIInterface] 4069000 references received" logging Andrew reported occurs later in the process when JVMTIInterface is trying to analyze the heap snapshot it took after having returned from forceReleaseOnSoftReferences(). All of the heap analysis data is being kept in the heap as well; I've found that that standard heap size isn't adequate to do the full analysis w/ AS 5.

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

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



More information about the jboss-dev-forums mailing list