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.  [ 4 posts ] 
Author Message
 Post subject: Memory leak...
PostPosted: Mon Mar 06, 2006 10:23 pm 
Newbie

Joined: Thu Feb 03, 2005 5:27 pm
Posts: 5
I am using NHibernate 0.9.1.0 for an ASP.net web service. I am caching the Configuration class in the session, and I correctly close and dispose the session before returning from the web method.
However I have a continual memory leak of 250kb per web service request.
Most of the leaked data is in the NHibernate namespace classes, most predominantly in the SqlCommand, and System.String classes.

Does anybody have any idea why this could be happenning? Are there known issues/typical cache or nhibernate settings?

Any help is much appreciated.

Thanks

- Adam Langley


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 07, 2006 11:56 am 
Contributor
Contributor

Joined: Thu May 12, 2005 8:45 am
Posts: 226
The first thing you could do is to see if it has already been fixed. Please try the latest version (1.0.2) and see if the problem persists. If so, please enable the log4net logging and post the log from a typical session.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 07, 2006 4:16 pm 
Newbie

Joined: Thu Feb 03, 2005 5:27 pm
Posts: 5
Thanks,

The issue is that we have a large application build on this version, and we cant upgrade to 1.x due to breaking changes with nullable types.
I will enable logging in this version and see what it says...

- Adam


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 27, 2006 8:56 am 
Newbie

Joined: Sun Aug 27, 2006 8:48 am
Posts: 1
Location: Russia
Did you solve this problem finally? I have the same sitiation with ASP.NET 2.0 & NHibernate 1.0.2. I'll appreciate any advice.

nimble99 wrote:
Thanks,

The issue is that we have a large application build on this version, and we cant upgrade to 1.x due to breaking changes with nullable types.
I will enable logging in this version and see what it says...

- Adam


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