|
From: Seth L. <set...@gm...> - 2004-11-20 00:07:01
|
I wanted to send out this quick FYI. We have a new Spring/Hibernate webapp starting up. I used this opportunity to look into OOM Exceptions on redeploy (again). Without Hibernate SessionFactory in my applicationContext, I seem to be able to redeploy all day long. Once I add in the SessionFactory, I can redeploy only 10-15 times before OutOfMemoryException. The problem definitely seems to be from Hibernate, or cglib, or dom4j. I'm going to try Guillaume Poirier's listener that cleans up Dom4J. But, the good news is that it appears that Spring is good at not leaving ClassLoaders around. I'll post anything if I found out more. Thanks, Seth |