Altova Mailing List Archives
>xsl-list Archive Home
>Recent entries
>Thread Prev - Re: [xsl] coping with huge xml-saxon
>Thread Next - RE: [xsl] coping with huge xml-saxon
Re: [xsl] coping with huge xml-saxon
To:
Date: 6/17/2003 1:43:00 PM
> 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
Disclaimer
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

