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

adrian@jboss.org do-not-reply at jboss.com
Mon Sep 8 15:09:53 EDT 2008


"bstansberry at jboss.com" wrote : "ALRubinger" wrote : 
  |   | I also tried running the test on my Win32 partition using JBossProfiler, which can force a GC via its JMVTIInterface.  However, this resulted in lots of:
  |   | 
  |   | [JVMTIInterface] 4069000 references received
  |   | 
  |   | ...followed by OutOfMemoryErrors.
  |   | 
  | 
  | I guess there's a reason my writing those tests turned into my debugging all the leaks they found. Until you didn't run away from the tarbaby fast enough.  Not very easy; requires a fair bit of black art, like w/ AS 5 you have to increase the heap. :(
  | 

No, the OOMEs are deliberate and are what forces the GC.  :-)
http://viewcvs.labs.jboss.com/cgi-bin/viewvc.cgi/jbossprofiler/trunk/jvmti-lib/java-src/org/jboss/profiler/jvmti/JVMTIInterface.java?view=markup&sortby=log&sortdir=down&pathrev=433
Nothing else will guarantee that all non-hard references have been removed.

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

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



More information about the jboss-dev-forums mailing list