You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Jacob Danner (JIRA)" <xm...@xml.apache.org> on 2005/04/19 20:50:36 UTC
[jira] Closed: (XMLBEANS-103) XMLBeans - QName thread cache, cause memory leaks
[ http://issues.apache.org/jira/browse/XMLBEANS-103?page=all ]
Jacob Danner closed XMLBEANS-103:
---------------------------------
Fix verified in V2 branch, closing
> XMLBeans - QName thread cache, cause memory leaks
> -------------------------------------------------
>
> Key: XMLBEANS-103
> URL: http://issues.apache.org/jira/browse/XMLBEANS-103
> Project: XMLBeans
> Type: Bug
> Versions: Version 1.0.3
> Reporter: Tomasz Wysocki
> Priority: Minor
> Fix For: Version 2 Beta 2, Version 2
>
> XMLBeans class uses thread local variables to store cache of QName objects (QNameCache instance).
> In application-server environments where threads are pooled, this causes situation that application using xml-beans library when undeployed is not garbage-collected, because its classloader is reachable from thread local variable.
> Possible solution would be to use memory-sensitive techniques using weak or soft references.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org