Re: [xsl] Size limit for input file , while transforming ??

Subject: Re: [xsl] Size limit for input file , while transforming ??
From: "Simon Bracken" <sbracken@xxxxxxxxxxxxxxxx>
Date: Wed, 3 Sep 2003 17:46:50 -0700
I suspect that your real problem may lie elsewhere if you intend to
serialize the result of your transformation.

There is a property, MaxXMLSize which may be used to set the maximum size of
document that can be loaded into a DOM object (MSXML 3.0 SP4 & MSXML 4.0
SP2).  A value of zero for this property signifies "no limit", the largest
size specifiable is (2 exp 22) - 1 characters  or multiples of 1024
characters depending on how you interpret the following

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/htm/xml2nd_pro_v4_9dut.asp

Getting back to serialization, I have found that MSXML can baulk during
serialization and report "out of memory" in the parseError property even in
cases where there is lots of virtual memory left and MaxXMLSize is zero.  I
use 4.0 SP2.

Simon Bracken

----- Original Message ----- 
From: "Michael Kay" <mhk@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, 03 September, 2003 4:31 PM
Subject: RE: [xsl] Size limit for input file , while transforming ??


> It should be possible to transform a 10Gb file if you have 100Gb of main
> memory and a long weekend, but I haven't tried it.
>
> Michael Kay
>
> > -----Original Message-----
> > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
> > Dipesh Khakhkhar
> > Sent: 04 September 2003 00:06
> > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > Subject: [xsl] Size limit for input file , while transforming ??
> >
> >
> > Hi,
> >
> > I would like to know whether any limit is set for the input
> > xml file when it
> > is processed ?
> >
> > Can i use a input xml file which is of few GB for processing
> > ? Suppose I am
> > having file of 10 GB and I am trasforming it , will my
> > processing be crashed ?
> > I am usign msxsl engine.
> >
> > As per I guess only memory is constraint and process will be
> > slow but it wont
> > crash. The only effect on the performace point of view is
> > that the processing
> > will be slow. Am i right ?
> >
> > Please throw some lights on this issue.
> >
> > Regards,
> > Dipesh
> >
> >
> >  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> >
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


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


Current Thread