You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/02/18 21:35:11 UTC

DO NOT REPLY [Bug 17180] New: - OutOfMemoryException using XMLSerializer

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=17180>.
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=17180

OutOfMemoryException using XMLSerializer

           Summary: OutOfMemoryException using XMLSerializer
           Product: Xerces2-J
           Version: 2.3.0
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Serialization
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: uwe@uwe-goersch.de


I use a SAX parser (org.apache.xerces.parsers.SAXParser) to read XML documents 
of a size of more than 100MB and an XML serializer (org.apache.xml.serialize) 
to write the output SAX based using the methods startElement, endElement and 
charcters only.

I configure the output format to be indenting with an indent of 1 and specify 
the line width to be 0.

If the input XML document is already indented I get an OutOfMemoryError.

Did I make a mistake?

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org