About Me

My photo
Working as Technical Lead in CollabNET software private limited.
Showing posts with label heapdump. Show all posts
Showing posts with label heapdump. Show all posts

Wednesday, 17 October 2012

Memory leak when reading EJB 2.1 CMP EntityBeans in JBOSS7.1.1-Final

On a recent PSR testing, we saw frequent OOME on accessing the site. Later, on investigation heap dump,we found that there are large number of objects getting created for org.jboss.invocation.interceptor[] from WeavedInterceptor and ChainedInterceptor.

Below is the screen shot of it..


Later on investigation, we found its because of the bug in JBOSS7.1.1-Final, this is due migrating EJB2.1 CMP EntityBeans to this JBOSS7.1.1-Final version.


More details on actual stack trace can be found in https://community.jboss.org/thread/198920 


We need to patch JDBCStoreManager.java for this in the jboss AS 7.1.1.