Memory leak in Websphere 7 + EJB3, a lot of instances of ClassMapping
sorry for my english, I speak spanish. I recently migrate an application from ejb 2.x to ejb3 (approx. 300 entities), Im using WebSphere 7.0.0.9.
After 10 hours of work, the system crash with an OutOfMemoryError.
Analyzing the coredump, I see a lot of instance of the org.apache.openjpa.jdbc.meta.ClassMapping class (please see the attached a screenshot).
alt text 开发者_JAVA技巧http://img204.imageshack.us/img204/7273/phd2jdbccfg.png
I believe that the culprit is the list of ValueListeners of the Value class, but I'm not sure, and I dont know how to fix this problem.
Thanks
Make sure to install latest WebSphere Application Server fix pack. We have encoutered a similar issue related to OpenJPA and updating the server solved the problem.
精彩评论