On Fri, 2004-03-19 at 07:53, Bertrand Delacretaz wrote:
> Le Jeudi, 18 mars 2004, à 22:31 Europe/Zurich, J.Pietschmann a écrit :
> 
> > Bertrand Delacretaz wrote:
> >> Also, some XSLT constructs will force the XSLT processor to load the 
> >> whole thing in memory instead of streaming it.
> >
> > I was under the impression that both XSLTC and Saxon always load
> > the whole XML, and that Xalan'S streaming processing was disabled
> > in the default Cocoon setup and has to be explicitely enabled, so
> > it is likely to load everything into memory as well.
> 
> You're probably right, I didn't check whether streaming actually takes 
> place in the default Cocoon setup. So the first step would be to enable 
> and check it, for example by processing a large XML file with a simple 
> transform and watching memory consumption (or processor debugging 
> messages if they say something meaningful).

The streaming feature of Xalan won't save you any memory. The only
difference is that the transformation will start while the DOM (DTM) is
still being built, but in the end it still builds the complete DTM
(AFAIU).

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]                          [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to