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
|