--- Begin Message ---
Hello,
can anybody help me with the following problem?

I used Xalan_0_20_0 and Xerces_1_0_3 and I want to parse an XML-
Document with 89304 Lines. I used a XSL-Dokument redirect to get
multiple HTML-Dokuments. Shorter Versions of XML-Dokument, but
with the same structure and with the same XSL-Dokument worked
fine since now ( also with older versions of Xalan and Xerces).
But now I had to do Performance-Tests and now the following
Exception occurs (using the command-line interface): 
========= Parsing file:/home/as/XML/ds9/xalan/12/keeperhtml.xsl
==========
Parse of file:/home/as/XML/ds9/xalan/12/keeperhtml.xsl took 1257
milliseconds
========= Parsing keeper.xml ==========
java.lang.OutOfMemoryError:
        at
org.apache.xerces.utils.StringPool.ensureCapacity(StringPool.java:215)
        at
org.apache.xerces.utils.StringPool.addString(StringPool.java:272)
        at
org.apache.xerces.utils.CharDataChunk.addString(CharDataChunk.java:231)
        at
org.apache.xerces.readers.AbstractCharReader.addString(AbstractCharReader.java:191)
        at
org.apache.xerces.readers.AbstractCharReader.callCharDataHandler(AbstractCharReader.java:1259)
        at
org.apache.xerces.readers.AbstractCharReader.scanContent(AbstractCharReader.java:917)
        at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1134)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
        at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1208)
        at
org.apache.xalan.xpath.dtm.DTMLiaison.parse(DTMLiaison.java:228)
        at
org.apache.xalan.xslt.XSLTEngineImpl.getSourceTreeFromInput(XSLTEngineImpl.java:817)
        at org.apache.xalan.xslt.Process.main(Process.java:506) 

Have anybody an idea ? This was only the beginning of my
Performance-Test. At least
I need  much more entries in the XML-File.

thanks,

- Andrea

--- End Message ---

Reply via email to