Subject: Re: OutOfMemoryError when transforming with Xalan XSLT-processor
From: Daniel Hinz <daniel.hinz@xxxxxxxxxxxxxxxx>
Date: Fri, 25 Aug 2000 14:56:14 +0200
|
"Tomas Aspelin (SIX)" wrote:
>
> 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?
Use a different parser and processor and try to stream the
transformation using SAX.
XT with XP from http://www.jclark.com is recommmendable. Almost
everything works fine and fast even for large documents.
There just had to be reason IBM gave all their XML stuff away for
free...
just kidding.
Regards,
Daniel Hinz
--
Daniel Hinz - Entwickler
daniel.hinz@xxxxxxxxxxxxxxxx - fon +49.40.325587.504 fax .199
CoreMedia AG - www.coremedia-ag.com
Düsternstraße 3, 20355 Hamburg, Germany Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
|