cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: Performance leak
Date Thu, 06 Mar 2003 15:24:15 GMT

Stephan Michels wrote:
> 
> I do some profiling today, and wondering why the XSLT transformer
> burns performance like hell in setup(). After some debugging I noticed
> that the XSLT transformer create a complete new template/handler for
> each call of setup(), that because the parameter 'use-store' in
> cocoon.xconf is set to 'false' per default.
> 
> After setting this parameter to 'true', the performance increased
> dramatically.
> 
> So, is there a reason, why this parameter is set to 'false'? When
> not, I would change it to 'true'.
> 
There was a reason: a memory leak :) So you can change from performance
to memory leak. This leak was at least in last Xalan versions, I never
tested if it is in the latest, so perhaps this is fixed now. 
If not, you can run into serious memory problems.

Carsten

Mime
View raw message