Subject: RE: coping with huge xml-saxon
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 18 Jun 2003 11:52:21 +0100
|
> > > > 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 |
- Re: coping with huge xml-saxon, (continued)
- Paul Tremblay - Tue, 17 Jun 2003 17:01:57 -0400 (EDT)
- david_n_bertoni - Tue, 17 Jun 2003 17:43:21 -0400 (EDT)
- Michael Kay - Tue, 17 Jun 2003 18:31:37 -0400 (EDT)
- Paul Tremblay - Tue, 17 Jun 2003 22:30:15 -0400 (EDT)
- Michael Kay - Wed, 18 Jun 2003 06:52:07 -0400 (EDT) <=
- Paul Tremblay - Tue, 17 Jun 2003 22:34:58 -0400 (EDT)
- Jason - Tue, 17 Jun 2003 23:22:58 -0400 (EDT)
- Michael Kay - Tue, 17 Jun 2003 18:24:36 -0400 (EDT)
- XSL_chatr - Wed, 18 Jun 2003 06:12:22 -0400 (EDT)
|
|