Hi.
I have a J2EE application, running on WAS 5.1 (JVM 1.4.2).
I have a memory leak (JVM as a XMX of 1,5 Go)
Heap dump analysis gives the following result :
The leak suspect is a class of type: com/mypackage/dao/DAOFactory
The leak suspect size is: 1,142MB
The object the leak suspect is holding that contains leaking objects is a class of type: org/hibernate/impl/SessionFactoryImpl
The object the leak suspect is holding that contains leaking objects has a size of: 1,141MB
The object that is suspected to be leaking is a class of type: org/hibernate/engine/query/QueryPlanCache
The object that is suspected to be leaking has a size of: 1,102MB
The object that is suspected to be leaking occurs: 19 times.
I'm using a ServletFilter to manage Session (session-per-request)
I have probably a bad usage of Hibernate, but I don't know where to search...
Can someone help me ? Is there a way to control QueryPlanCache ?
Hibernate version: 3.1.2
Name and version of the database you are using: Oracle 9.i
|