From: Mattias J. (JIRA) <no...@at...> - 2005-12-07 13:14:37
|
Remove static reference to classloader, to avoid memory leak at webapp reload ----------------------------------------------------------------------------- Key: HHH-1236 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236 Project: Hibernate3 Type: Bug Components: core Versions: 3.0.5 Environment: Resin 3.0.15, CGLib 2.1_3 Reporter: Mattias Jiderhamn Attachments: OptimizeIt.jpg To avoid memory leaks when web applications reload, please either remove reference to classloader in org.hibernate.util.DTDEntityResolver or remove static reference to that class in org.hibernate.util.XMLHelper For background information, please see http://forum.hibernate.org/viewtopic.php?p=2275217#2275217 http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 and attached screen shot -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Gavin K. (JIRA) <no...@at...> - 2005-12-07 15:20:30
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236?page=all ] Gavin King closed HHH-1236: --------------------------- Resolution: Rejected It is NOT a memory leak or bug to reference your own classloader. > Remove static reference to classloader, to avoid memory leak at webapp reload > ----------------------------------------------------------------------------- > > Key: HHH-1236 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.0.5 > Environment: Resin 3.0.15, CGLib 2.1_3 > Reporter: Mattias Jiderhamn > Attachments: OptimizeIt.jpg > > > To avoid memory leaks when web applications reload, please either remove reference to classloader in org.hibernate.util.DTDEntityResolver or remove static reference to that class in org.hibernate.util.XMLHelper > For background information, please see > http://forum.hibernate.org/viewtopic.php?p=2275217#2275217 > http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 > and attached screen shot -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Christian B. (JIRA) <no...@at...> - 2005-12-08 16:54:30
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236?page=comments#action_21114 ] Christian Bauer commented on HHH-1236: -------------------------------------- It is not a bug in Hibernate (or any of the other hundreds of libraries that do this) of course. But it seems that Tomcat triggers a JVM bug. A simple static reference to the webapp classloader will prevent garbage collection of the classloader. Tested and confirmed with Remy. Nothing we can do. > Remove static reference to classloader, to avoid memory leak at webapp reload > ----------------------------------------------------------------------------- > > Key: HHH-1236 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.0.5 > Environment: Resin 3.0.15, CGLib 2.1_3 > Reporter: Mattias Jiderhamn > Attachments: OptimizeIt.jpg > > > To avoid memory leaks when web applications reload, please either remove reference to classloader in org.hibernate.util.DTDEntityResolver or remove static reference to that class in org.hibernate.util.XMLHelper > For background information, please see > http://forum.hibernate.org/viewtopic.php?p=2275217#2275217 > http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 > and attached screen shot -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Mattias J. (JIRA) <no...@at...> - 2005-12-08 19:03:33
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236?page=comments#action_21119 ] Mattias Jiderhamn commented on HHH-1236: ---------------------------------------- I admit I jumped the gun. Sorry. > Remove static reference to classloader, to avoid memory leak at webapp reload > ----------------------------------------------------------------------------- > > Key: HHH-1236 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.0.5 > Environment: Resin 3.0.15, CGLib 2.1_3 > Reporter: Mattias Jiderhamn > Attachments: OptimizeIt.jpg > > > To avoid memory leaks when web applications reload, please either remove reference to classloader in org.hibernate.util.DTDEntityResolver or remove static reference to that class in org.hibernate.util.XMLHelper > For background information, please see > http://forum.hibernate.org/viewtopic.php?p=2275217#2275217 > http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 > and attached screen shot -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Steve E. (JIRA) <no...@at...> - 2006-02-27 09:16:37
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236?page=all ] Steve Ebersole reopened HHH-1236: --------------------------------- Assign To: Steve Ebersole > Remove static reference to classloader, to avoid memory leak at webapp reload > ----------------------------------------------------------------------------- > > Key: HHH-1236 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.0.5 > Environment: Resin 3.0.15, CGLib 2.1_3 > Reporter: Mattias Jiderhamn > Assignee: Steve Ebersole > Fix For: 3.1.3, 3.2.0.alpha1 > Attachments: OptimizeIt.jpg > > > To avoid memory leaks when web applications reload, please either remove reference to classloader in org.hibernate.util.DTDEntityResolver or remove static reference to that class in org.hibernate.util.XMLHelper > For background information, please see > http://forum.hibernate.org/viewtopic.php?p=2275217#2275217 > http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 > and attached screen shot -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Steve E. (JIRA) <no...@at...> - 2006-02-27 09:16:38
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236?page=all ] Steve Ebersole updated HHH-1236: -------------------------------- Fix Version: 3.1.3 3.2.0.alpha1 While it may not be a bug, it does in fact contribute to the inability of the classloader to get cleanly released. And there is no need for it. There is absolutely no code in Hibernate that actually uses that overloaded DTDEntityResolver constructor, thus there is really no reason at all to even keep a ref to the classloader > Remove static reference to classloader, to avoid memory leak at webapp reload > ----------------------------------------------------------------------------- > > Key: HHH-1236 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.0.5 > Environment: Resin 3.0.15, CGLib 2.1_3 > Reporter: Mattias Jiderhamn > Assignee: Steve Ebersole > Fix For: 3.1.3, 3.2.0.alpha1 > Attachments: OptimizeIt.jpg > > > To avoid memory leaks when web applications reload, please either remove reference to classloader in org.hibernate.util.DTDEntityResolver or remove static reference to that class in org.hibernate.util.XMLHelper > For background information, please see > http://forum.hibernate.org/viewtopic.php?p=2275217#2275217 > http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 > and attached screen shot -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Steve E. (JIRA) <no...@at...> - 2006-02-27 09:16:43
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236?page=all ] Steve Ebersole resolved HHH-1236: --------------------------------- Resolution: Fixed > Remove static reference to classloader, to avoid memory leak at webapp reload > ----------------------------------------------------------------------------- > > Key: HHH-1236 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.0.5 > Environment: Resin 3.0.15, CGLib 2.1_3 > Reporter: Mattias Jiderhamn > Assignee: Steve Ebersole > Fix For: 3.1.3, 3.2.0.alpha1 > Attachments: OptimizeIt.jpg > > > To avoid memory leaks when web applications reload, please either remove reference to classloader in org.hibernate.util.DTDEntityResolver or remove static reference to that class in org.hibernate.util.XMLHelper > For background information, please see > http://forum.hibernate.org/viewtopic.php?p=2275217#2275217 > http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 > and attached screen shot -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-03-03 05:45:43
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236?page=comments#action_22368 ] Emmanuel Bernard commented on HHH-1236: --------------------------------------- I actually kept the design opened for *user* usage, not hibernate usage. > Remove static reference to classloader, to avoid memory leak at webapp reload > ----------------------------------------------------------------------------- > > Key: HHH-1236 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.0.5 > Environment: Resin 3.0.15, CGLib 2.1_3 > Reporter: Mattias Jiderhamn > Assignee: Steve Ebersole > Fix For: 3.1.3, 3.2.0.alpha1 > Attachments: OptimizeIt.jpg > > > To avoid memory leaks when web applications reload, please either remove reference to classloader in org.hibernate.util.DTDEntityResolver or remove static reference to that class in org.hibernate.util.XMLHelper > For background information, please see > http://forum.hibernate.org/viewtopic.php?p=2275217#2275217 > http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 > and attached screen shot -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Steve E. (JIRA) <no...@at...> - 2006-03-04 01:04:41
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236?page=comments#action_22375 ] Steve Ebersole commented on HHH-1236: ------------------------------------- But that does still not necessitate holding a referencce to the classloader... > Remove static reference to classloader, to avoid memory leak at webapp reload > ----------------------------------------------------------------------------- > > Key: HHH-1236 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.0.5 > Environment: Resin 3.0.15, CGLib 2.1_3 > Reporter: Mattias Jiderhamn > Assignee: Steve Ebersole > Fix For: 3.1.3, 3.2.0.alpha1 > Attachments: OptimizeIt.jpg > > > To avoid memory leaks when web applications reload, please either remove reference to classloader in org.hibernate.util.DTDEntityResolver or remove static reference to that class in org.hibernate.util.XMLHelper > For background information, please see > http://forum.hibernate.org/viewtopic.php?p=2275217#2275217 > http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 > and attached screen shot -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: G (JIRA) <no...@at...> - 2006-06-22 20:56:34
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236?page=comments#action_23377 ] G commented on HHH-1236: ------------------------ Has this issue really been resolved. A quick look at the source code - reveals that the static refernce has not been removed. At least for the source cod ein 3.1.3 and 3.2.alpha I have downloaded the source for both, and in org.hibernate.utils.XMLHelper the static reference to DTDEntityResolver i.e. This is the current source code in both versions. public final class XMLHelper { private static final Log log = LogFactory.getLog(XMLHelper.class); public static final EntityResolver DEFAULT_DTD_RESOLVER = new DTDEntityResolver(); > Remove static reference to classloader, to avoid memory leak at webapp reload > ----------------------------------------------------------------------------- > > Key: HHH-1236 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.0.5 > Environment: Resin 3.0.15, CGLib 2.1_3 > Reporter: Mattias Jiderhamn > Assignee: Steve Ebersole > Fix For: 3.2.0.alpha1, 3.1.3 > Attachments: OptimizeIt.jpg > > > To avoid memory leaks when web applications reload, please either remove reference to classloader in org.hibernate.util.DTDEntityResolver or remove static reference to that class in org.hibernate.util.XMLHelper > For background information, please see > http://forum.hibernate.org/viewtopic.php?p=2275217#2275217 > http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 > and attached screen shot -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Steve E. (JIRA) <no...@at...> - 2006-06-22 21:22:31
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236?page=comments#action_23378 ] Steve Ebersole commented on HHH-1236: ------------------------------------- Why on earth do you think that defining a static field somehow causes this issue? If that was the case, every library and every app I know of would exhibit the same behaviour... > Remove static reference to classloader, to avoid memory leak at webapp reload > ----------------------------------------------------------------------------- > > Key: HHH-1236 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.0.5 > Environment: Resin 3.0.15, CGLib 2.1_3 > Reporter: Mattias Jiderhamn > Assignee: Steve Ebersole > Fix For: 3.2.0.alpha1, 3.1.3 > Attachments: OptimizeIt.jpg > > > To avoid memory leaks when web applications reload, please either remove reference to classloader in org.hibernate.util.DTDEntityResolver or remove static reference to that class in org.hibernate.util.XMLHelper > For background information, please see > http://forum.hibernate.org/viewtopic.php?p=2275217#2275217 > http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 > and attached screen shot -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: G (JIRA) <no...@at...> - 2006-06-23 13:33:33
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236?page=comments#action_23382 ] G commented on HHH-1236: ------------------------ Because, to quote the Bug description at the top of the page: "To avoid memory leaks when web applications reload, please either remove reference to classloader in org.hibernate.util.DTDEntityResolver or remove static reference to that class in org.hibernate.util.XMLHelper " I however know enough about Java to know that using a static ClassLoader is a recipe for memory leaks. "ClassLoaders The use of the Java ClassLoader construct is riddled with chances for memory leaks. What makes ClassLoaders so difficult from a memory-leak perspective is the complicated nature of the construct. ClassLoaders are different in that they are not just involved with "normal" object references, but are also meta-object references such as fields, methods, and classes. This means that as long as there are references to fields, methods, classes, or objects of a ClassLoader, the ClassLoader will stay in the JVM. Since the ClassLoader itself can hold on to a lot of classes as well as all their static fields, quite a bit of memory can be leaked. " Please refer to this link for more information on the subject. http://dev2dev.bea.com/pub/a/2005/06/memory_leaks.html But if you have no intention of fixing this memory leak, can you, at least, remove it from the resolved issues. I think there are a few people under the mistaken impression that this has been resolved. > Remove static reference to classloader, to avoid memory leak at webapp reload > ----------------------------------------------------------------------------- > > Key: HHH-1236 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.0.5 > Environment: Resin 3.0.15, CGLib 2.1_3 > Reporter: Mattias Jiderhamn > Assignee: Steve Ebersole > Fix For: 3.2.0.alpha1, 3.1.3 > Attachments: OptimizeIt.jpg > > > To avoid memory leaks when web applications reload, please either remove reference to classloader in org.hibernate.util.DTDEntityResolver or remove static reference to that class in org.hibernate.util.XMLHelper > For background information, please see > http://forum.hibernate.org/viewtopic.php?p=2275217#2275217 > http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 > and attached screen shot -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Steve E. (JIRA) <no...@at...> - 2006-06-23 13:40:32
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236?page=comments#action_23383 ] Steve Ebersole commented on HHH-1236: ------------------------------------- sigh... you and i are officially done on this line of conversation > Remove static reference to classloader, to avoid memory leak at webapp reload > ----------------------------------------------------------------------------- > > Key: HHH-1236 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.0.5 > Environment: Resin 3.0.15, CGLib 2.1_3 > Reporter: Mattias Jiderhamn > Assignee: Steve Ebersole > Fix For: 3.2.0.alpha1, 3.1.3 > Attachments: OptimizeIt.jpg > > > To avoid memory leaks when web applications reload, please either remove reference to classloader in org.hibernate.util.DTDEntityResolver or remove static reference to that class in org.hibernate.util.XMLHelper > For background information, please see > http://forum.hibernate.org/viewtopic.php?p=2275217#2275217 > http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 > and attached screen shot -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Mattias J. (JIRA) <no...@at...> - 2006-06-26 06:29:59
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236?page=comments#action_23410 ] Mattias Jiderhamn commented on HHH-1236: ---------------------------------------- G: The reference to the classloader has been removed in hibernate-3.1\src\org\hibernate\util\DTDEntityResolver.java, so the static reference to DTDEntityResolver is no problem. Steve (and the rest of the Hibernate team): Why the rudeness? Even if your users would be stupid or ignorant (and that may even be true for > 50%), does that really justify being rude??? I've seen this many times (and been there myself) from several team members. How do you expect people to want to report bugs and feature suggestions if they are likely to be insulted and told "you don't understand what you are talking about"? Being a hardcore coder isn't everything. We also need to learn humbleness. > Remove static reference to classloader, to avoid memory leak at webapp reload > ----------------------------------------------------------------------------- > > Key: HHH-1236 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.0.5 > Environment: Resin 3.0.15, CGLib 2.1_3 > Reporter: Mattias Jiderhamn > Assignee: Steve Ebersole > Fix For: 3.2.0.alpha1, 3.1.3 > Attachments: OptimizeIt.jpg > > > To avoid memory leaks when web applications reload, please either remove reference to classloader in org.hibernate.util.DTDEntityResolver or remove static reference to that class in org.hibernate.util.XMLHelper > For background information, please see > http://forum.hibernate.org/viewtopic.php?p=2275217#2275217 > http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 > and attached screen shot -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Steve E. (JIRA) <no...@at...> - 2006-06-26 14:37:59
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236?page=comments#action_23413 ] Steve Ebersole commented on HHH-1236: ------------------------------------- So what exactly was rude in my original comment to him? When I take the time to try and help someone try to understand something and they in turn want to argue the point with me (where they obviously do not understand), yes I end the conversation. Since your giving out humbleness lectures, perhaps you can enlighten me with what is so rude about that... > Remove static reference to classloader, to avoid memory leak at webapp reload > ----------------------------------------------------------------------------- > > Key: HHH-1236 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.0.5 > Environment: Resin 3.0.15, CGLib 2.1_3 > Reporter: Mattias Jiderhamn > Assignee: Steve Ebersole > Fix For: 3.2.0.alpha1, 3.1.3 > Attachments: OptimizeIt.jpg > > > To avoid memory leaks when web applications reload, please either remove reference to classloader in org.hibernate.util.DTDEntityResolver or remove static reference to that class in org.hibernate.util.XMLHelper > For background information, please see > http://forum.hibernate.org/viewtopic.php?p=2275217#2275217 > http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 > and attached screen shot -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Steve E. (JIRA) <no...@at...> - 2006-06-26 17:41:58
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236?page=comments#action_23418 ] Steve Ebersole commented on HHH-1236: ------------------------------------- First, all these comments are visible to all jira users anyway... Since you are a moral lecturer, I assume you have heard the phrase "give a man a fish, he eats for a day; teach a man to fish, he eats for a lifetime". It is not my job nor inclination to give someone an answer. That does not help them in the long run (besides, this is *not* a help forum); nor does it help them understand the issue at hand anyway. And where did I ever say that "saving my valuable time" was the motivation for anything? > Remove static reference to classloader, to avoid memory leak at webapp reload > ----------------------------------------------------------------------------- > > Key: HHH-1236 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.0.5 > Environment: Resin 3.0.15, CGLib 2.1_3 > Reporter: Mattias Jiderhamn > Assignee: Steve Ebersole > Fix For: 3.2.0.alpha1, 3.1.3 > Attachments: OptimizeIt.jpg > > > To avoid memory leaks when web applications reload, please either remove reference to classloader in org.hibernate.util.DTDEntityResolver or remove static reference to that class in org.hibernate.util.XMLHelper > For background information, please see > http://forum.hibernate.org/viewtopic.php?p=2275217#2275217 > http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 > and attached screen shot -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |