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

List:       xmlbeans-dev
Subject:    [jira] Created: (XMLBEANS-103) XMLBeans - QName thread cache, cause memory leaks
From:       "Tomasz Wysocki (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2005-01-20 9:07:19
Message-ID: 418072138.1106212039314.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]

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


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
-
If you want more information on JIRA, or have a bug to report 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