-->
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.  [ 2 posts ] 
Author Message
 Post subject: Possible Memory Leak : suspected object QueryPlanCache
PostPosted: Tue Jul 17, 2007 9:54 am 
Newbie

Joined: Mon May 29, 2006 5:20 am
Posts: 5
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 09, 2007 10:11 am 
Newbie

Joined: Mon May 29, 2006 5:20 am
Posts: 5
Nobody ?
Even a little help on methodology / tolls to identify precisely the leak ?


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

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.