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

RE: Transforming large XML docs in small amounts of m

Subject: RE: Transforming large XML docs in small amounts of memory
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 30 Apr 2007 11:04:52 +0100
RE:  Transforming large XML docs in small amounts of  m
It depends very much on the nature of the transformation.

Some transformations are amenable to the approach described at

http://www.saxonica.com/documentation/sourcedocs/serial.html

Some can benefit from inserting a SAX filter into the pipeline before the
transformation proper, simply to remove the parts of the input document that
aren't needed. 

Be aware also that there are considerable differences between different tree
models in the amount of space they use. The Saxon TinyTree is generally 4-5
times raw data size whereas a DOM is often 10 times raw data size.

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


> -----Original Message-----
> From: Ronan Klyne [mailto:ronan.klyne@xxxxxxxxxxx] 
> Sent: 30 April 2007 10:19
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Transforming large XML docs in small amounts of memory
> 
> Hi all,
> 
> I am trying to find ways of reducing the memory requirements 
> of our transforms.
> The main factor driving the memory usage up is the size of 
> the input document (upto about 150Mb), but this is out of our 
> control at this point.
> So, the question: Is there anything which can be done (or 
> avoided) in the XSL to decrease the amount of memory used in 
> the transform?
> 
> (I appreciate that this question is very abstract, and I 
> apologise - I'm mostly fishing for ideas, or a confirmation 
> of my suspicion that not much can be done...)
> 
> 	# r
> 
> --
> Ronan Klyne
> Business Collaborator Developer
> Tel: +44 (0)870 163 2555
> ronan.klyne@xxxxxxxxxxx
> www.groupbc.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.