[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Updated: (XMLBEANS-148) Variables (mainly stacks/queues) declared as ThreaLocal lead to memor
From:       "Dimitry Gerasimenko (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2005-04-25 21:37:27
Message-ID: 7965442.1114465047821.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]

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

Dimitry Gerasimenko updated XMLBEANS-148:
-----------------------------------------

    Attachment: permGenBug.diff

This patch should fix the bug in v1. 

> 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.3, Version 1.0.3 (jdk1.3 port), Version 1.0.4, Version 1.0.4 \
>                 (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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic