Subject: RE: OutOfMemoryError when transforming with Xalan XSLT-processor From: Thorbjørn Ravn Andersen <TRA@xxxxxxxx> Date: Tue, 22 Aug 2000 15:00:05 +0200 |
> I get an "java.lang.OutOfMemoryError" message when I try to > transform my > XML-file with the Xalan XSLT Processor. It is a big file > (~8Mb) and if I > chop it down it works fine. The problem occur when the Xerces > parser is > parsing the XML-file. Does anyone know how to solve this > problem? Can I > change the parser to use SAX instead of DOM, and is this a > solution to my > problem? You have two possible solutions: 1) Tell "java" that you need a bigger heap, this is either the "-mx size" or the "-Xmx size" option, like "java -mx size org.apac...." 2) If you run on a Microsoft platform, use "jview" instead of "java". It does not have a maximum heap size. -- Thorbjørn Ravn Andersen "...and...Tubular Bells!" http://bigfoot.com/~thunderbear XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: OutOfMemoryError when transform, Daniel Hinz | Thread | RE: OutOfMemoryError when transform, Yao, Di |
Re: problems again!, David Allouche | Date | ANN: New RSS 1.0 online services an, Eric van der Vlist |
Month |