-->
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: Possible Memory Leak org/hibernate/util/SoftLimitMRUCache
PostPosted: Thu Sep 07, 2006 12:29 pm 
Newbie

Joined: Mon Jan 30, 2006 11:28 am
Posts: 13
Location: Mumbai India
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

_________________
-Chandra Singh (Anmsoft)


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.