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.  [ 3 posts ] 
Author Message
 Post subject: SessionFactoryImpl - no softQueryCache scavenging
PostPosted: Sun May 14, 2006 10:53 am 
Newbie

Joined: Fri May 12, 2006 12:50 pm
Posts: 1
Hi,

I'm using NHibernate 1.0.2.0. Over prolonged periods of heavy use I see a large memory usage from NHibernate. I've tracked it down to SessionFactoryImpl.cs.

The compiled querys and filters are stored in the softQueryCache but they never appear to be scavenged. I've tested it by replacing the softQueryCache with the System.Web.Cache and set an expiration policy and the problem dissapears.

Anyone got any idea why the softQueryCache isn't scavenged to prevent excessive memory usage over time? If not, i'll submit a JIRA issue or patch.

Thanks,

Al Priest


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 14, 2006 11:29 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
It's a bug, please submit the patch.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 27, 2007 9:14 am 
Newbie

Joined: Fri Jul 20, 2007 6:02 pm
Posts: 12
Memory leak associated with HQL queries


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.