2 Replies Latest reply on Sep 27, 2012 4:19 AM by jaikiran pai

    Lots of object of org.hibernate.impl.SessionFactoryImpl

    raj_kumar Newbie

      Hi All,


      I am facing some memory issue, I am using Jboss AS 5.1, after running jboss for 7-8 days i can see that there are large no. of object of class org.hibernate.impl.SessionFactoryImpl.


      The leak suspect report from Mat consider org.hibernate.impl.SessionFactoryImpl as a primary suspect using around 1.1 gb. I am still not able to identify why this objects are creatting and

      consuming large chunk of memory. check below:-


      One instance of "org.hibernate.impl.SessionFactoryImpl" loaded by "org.jboss.classloader.spi.base.BaseClassLoader @ 0xfffffffdf86b3d48" occupies 1,161,239,232 (39.94%) bytes. The memory is accumulated in one instance of "org.hibernate.util.SoftLimitMRUCache" loaded by "org.jboss.classloader.spi.base.BaseClassLoader @ 0xfffffffdf86b3d48".



      Any pointers on this issue will be appreciated.