Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:3.1
Name and version of the database you are using: db2 8 UDB Driver
I have a application which is running on production server. Application is runnnng on WAS 6 clustered environment. Database is DB2 8 with UDB driver. Server has huge load during day time.
Application normally runs without problems for weeks, and some time it crashes with in a day throwing the OutOfMemory.
I was analyzing the heap dump generated on OutOfMemory. Biggest leak suspect was org/hibernate/util/SoftLimitMRUCache, it and its children consume 1.4 GB of memory. Leaking suspect as given by IBM Heap Analyzer is "org/apache/commons/collections/ReferenceMap$Entry" (14000) objects. Parent is SoftLimitMRUCache and ReferenceMap$Entry.
Can some one from hibernate team through some light on the usage of QueryPlanCache/SoftLimitMRUCache classes. Does they use finalization?
I will be really gratefull if i find a solution.
We have been using the hibernate and hibernate was never the source of any memory leak so I feel that it could be related to some configuration eg Query caching or second level caching.
Regards,
-Chandra Singh Meena