-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate Memory issue with org.hibernate.engine.EntityEntry
PostPosted: Thu Apr 08, 2010 5:10 pm 
Newbie

Joined: Thu Apr 08, 2010 4:54 pm
Posts: 2
Our application is throwing OutOfMemoryException. We use Hibernate 3 with Spring HibernateTemplate for persistence and have the transactions implemented using Spring AOP Pointcuts and HibernateTransactionManager. Analyzing the Heap Dumps show us java.util.LinkedHashMap$Entry taking up a lot of memory which has the following structure

-java.util.LinkedHashMap$Entry
-org.hibernate.engine.EntityEntry is taking 506,222 objects which is consuming 70% of memory.
-org.hibernate.util.IdentityMap$IdentityKey is taking 506,276 objects

We are not sure if this is an application issue, Hibernate issue or a configuration issue and what could be causing the objects to accumulate in the HashMap.

If any one of you have seen this issue and has any info on the issue, it would be great if you can share it with us.

Thanks,
Naveen


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.