[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: SAX for XSL Transformation

Subject: RE: SAX for XSL Transformation
From: "santhosh nair" <santhosh_as@xxxxxxxxxxx>
Date: Fri, 18 Feb 2005 12:22:44 -0800
initializemarkandallocbits
Thanks Michael, I already had -Xms256m -Xmx512m. But the problem was , when memory is low n the system , I was getting
Cannot allocate memory for initializeMarkAndAllocBits(allocbits1).
I will try to get the xsl transformation to be compiled ta class and try again.


BTW the J2SE 1.4 from IBM was using the Xalan implementation.

Santhosh.



From: "Michael Kay" <mike@xxxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE:  SAX for XSL Transformation
Date: Thu, 17 Feb 2005 22:19:50 -0000

Although you can supply a SAXSource as the input to your transformation, the
XSLT engine will generally build a tree in memory. This will usually be much
more efficient than a DOM tree, but it will still be a tree.


> I'm trying to transform a 80M
> file using an XSL stylesheet to an output stream.

80M is feasible but challenging. You should allocate at least 512M of memory
to the java VM (use -Xmx512M).


> I'm assuming that the JAXP API uses a DOM object to do this
> transformation.

The JAXP API is just an API. What actually happens internally depends on
which implementation of the JAXP API you are using, e.g. Xalan, Saxon,
Oracle.

Michael Kay
http://www.saxonica.com/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.