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

RE: coping with huge xml-saxon

Subject: RE: coping with huge xml-saxon
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 18 Jun 2003 11:52:21 +0100
xml huge data size
> > > > that Michale Kay in his book mentions that documents larger
> > > than 1 or
> > > > 2 MB cannot be processed by an XSLT processor, because, as you 
> > > > say,
> > > > the processor loads them into memory.
> > > 
> > > Did he really say that?  That would surprise me, because that
> > > limit seems rather low.
> > 
> > It would surprise me too, but anything is possible.
> > 
> > Michael Kay
> 
> I thought I was mistaken. But here is the quote:
> 
> "One caveat about data conversion applications: today's XSLT 
> processors all rely on holding the data in memory while the 
> transformation is taking place. The tree structure in memory 
> cann be as much as ten times the original data size, so in 
> practice, the limit on data size for an XSLT conversion is a 
> few megabytes. Even at this size, a complex conversion can be 
> quite time-consuming, it depends very much on the processing 
> that you actually want to do."(p. 45. Kay, Michael, *XSLT 2nd 
> edition. Programmer's Reference*: Arden House, Birmingham, 
> Acock's Green, Canada, Wrox Press, 2001.)

You may have read "a few" as meaning "1 or 2", but that's not what I
wrote. I was suggesting the heuristic "if you've got a 64Mb machine
don't try to process more than about 6Mb of source data."

Machines have got bigger in the last couple of years, and XSLT
processors have become more efficient, so the limits have increased. But
600Mb is still way beyond what's sensible to attempt.

Michael Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.