You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Radu Preotiuc-Pietro (JIRA)" <xm...@xml.apache.org> on 2005/07/11 20:35:19 UTC

[jira] Resolved: (XMLBEANS-148) Variables (mainly stacks/queues) declared as ThreaLocal lead to memory leaks when XMLBeans are used in classloaders other than the system classloader.

     [ http://issues.apache.org/jira/browse/XMLBEANS-148?page=all ]
     
Radu Preotiuc-Pietro resolved XMLBEANS-148:
-------------------------------------------

    Resolution: Fixed

Fixed in V1 line, SVN revision 169362.

> Variables (mainly stacks/queues) declared as ThreaLocal lead to memory leaks when XMLBeans are used in classloaders other than the system classloader.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: XMLBEANS-148
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-148
>      Project: XMLBeans
>         Type: Bug
>     Versions: Version 1.0.4, Version 1.0.4 (jdk1.3 port), Version 1.0.3, Version 1.0.3 (jdk1.3 port)
>  Environment: W2K Pro, WebLogic Server 8.1.4
>     Reporter: Dimitry Gerasimenko
>  Attachments: permGenBug.diff
>
> Variables (mainly stacks/queues) declared as ThreaLocal lead to memory leaks when XMLBeans are used in classloaders other than the system classloader (like in a servlet container).
> This issue was encountered and fixed in v2 (see submission 153813) by using SoftReferences which allowed garbage collector can unload XMLBeans classes when memory is low.
> The fix in v1 should be similar to fix in v2. There are some additional classes which need to be changed.

-- 
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