-->
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: Undeploy memory leak with annotations-3.2.0-rc1
PostPosted: Fri Aug 18, 2006 10:29 am 
Newbie

Joined: Fri Aug 18, 2006 10:14 am
Posts: 2
Hello,

I've done a little memory profiling with the latest release and I believe I've found the source of a memory leak. I'm using tomcat 5.5.12, java 1.5.0_06
hibernate core 3.2.0.rc2, hibernate annotations 3.2.0.rc1. Using jProbe, I have several classes remaining on the heap after undeployment and many of them have a path to the gc root pointing to: org.hibernate.validator.ClassValidator,
specifically:
private static final ReflectionManager reflectionManager = new JavaXFactory();

there shouldn't be any hibernate classes in the heap after undeployment, right? Can anyone else verify this?

Thanks,
Michael


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 18, 2006 10:50 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
http://www.jboss.com/index.html?module= ... ic&t=87008


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 24, 2006 9:28 am 
Newbie

Joined: Fri Aug 18, 2006 10:14 am
Posts: 2
Hi Christian,

Thanks for your reply, but I would like to humbly disagree and hope you would reconsider. I have tested our app with resin and tomcat (we use resin in production) and I do have anecdotal evidence that the same behavior exists on resin as well. More importantly, I have tested the undeploy memory leak against hibernate 3.0.6 (not recently) and all references to hibernate on the heap were removed on undeploy. I should note this was after we updated to cglib 2.1.3. I really hope this gets considered seriously by the hibernate team, not just dismissed as a tomcat issue, because I'm sure it's importart to many developers.

Thanks
Michael


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 24, 2006 10:44 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
I have no intention to waste any more time on this. If you want a Hibernate developer to do anything you have to point out exactly where in Hibernate (source) the alleged problem occurs.


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.