DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28082>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28082

XMLReaderManager provides neither no way to clear its cache nor it clears its cache by 
itself

           Summary: XMLReaderManager provides neither no way to clear its
                    cache nor it clears its cache by itself
           Product: XalanJ2
           Version: CurrentCVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xml.utils
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Considering a hightly multithreaded system, where threads have a short living
time, and some of the threads perform XSLT transformation, but only once, the
JVM soons reaches memory saturation, since XMLReaders are never re-used. 

I would suggest maybe to keep the ThreadLocal mecanism instead of the map +
ThreadLocal duet which appears redondant to me, but maybe i am missing some point ?

André

Reply via email to