This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: OutOfMemoryError when transforming with Xalan XSLT-processor


"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@coremedia-ag.com - fon +49.40.325587.504  fax .199
   CoreMedia AG - www.coremedia-ag.com
   Düsternstraße 3, 20355 Hamburg, Germany

S/MIME Cryptographic Signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]