[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: david_n_bertoni@xxxxxxxxxx
Date: Tue, 17 Jun 2003 14:42:15 -0700
Re:  coping with huge xml-saxon



> So what exactly is the memory limit for XSLT transformations? I know
> 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.  I have transformed 500MB documents with Xalan-C, and once
transformed a 1GB document.  That wasn't pretty, and there was a great deal
of swapping going on, but the transformation did complete.

> It seem that if you have 256 MB of memory, you ought to be able to
> handle a document of around 50 MB. (I think the processor actually
> requires something like 4 times the size of the document--or was it 10?)

There are many factors to consider.  Markup-heavy documents might take up
less space than content-heavy documents.  But really, it's very
implementation-specific.  I think jd-xslt has an option to page parts of
the document to disk, which would certainly help with large documents.
Xalan-C's default implementation of the source tree keeps the entire
document in memory but tries to be as compact as possible.  However,
someone could write an different implementation which keeps the majority of
the document in a database, etc.

Dave


 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.