开发者

Memory leak in Websphere 7 + EJB3, a lot of instances of ClassMapping

开发者 https://www.devze.com 2022-12-30 18:01 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消