-->
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: Occasional OutOfMemory exception
PostPosted: Mon Nov 16, 2009 3:35 am 
Newbie

Joined: Mon Nov 16, 2009 3:11 am
Posts: 1
Hi everyone,

I am new to hibernate so please bare with me a little bit.

i have a web application deployed on WebSphere AS,i usually get an OutOfMemory exception every couple of weeks, I was taking a look at the heapdump files i got one of the leak suspects to be the org.hibernate.impl.SessionFactoryImpl and its size is 45 MB, I looked deeper into the object, it seems that there is a QueryPlanCache object which contain a map, inside this map there are instances of SequencedHashMap$Entry.
as i understood, each SequencedHashMap$Entry represents a cached query, one of these entries size is 12 MB, i think its a very large size for a single query.. can anybody please help me make sense of this issue?

Thanks in advance


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.