You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/09/10 16:39:41 UTC

DO NOT REPLY [Bug 12481] New: - Method newInstance causes unnecessary memory consumption

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12481

Method newInstance  causes unnecessary memory consumption

           Summary: Method newInstance  causes unnecessary memory
                    consumption
           Product: XalanJ2
           Version: 2.4
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: org.apache.xml.dtm
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: Pavel_Ausianik@epam.com


Method newInstance every time calls method findFactory, and subsequently 
ClassLoader.getResourceAsStream every time, causing unnecessary load and 
memory consumption.
The factory should be cashed