cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: Possible memory leak when handle-errors is called
Date Sun, 29 May 2005 09:39:49 GMT
Reinhard Poetz wrote:
> I noticed that the memory consumption of my 2.2 applications (I haven't looked 
> into BRANCH_2.1.X yet) is steadily increasing. First I blamed the HTMLGenerator, 
> then I found out that the produced HTML contains a lot of img, script, link and 
> iframe tags. Those tags have in common that they lead to another server request 
> for which I haven't setup any pipelines yet and though they lead to 
> 'core.manager.handled-errors' exceptions (confirmed by the logs).
> 
> Yourkit revealed that the size (retained size[1]) of CocoonServiceManager and 
> the TraxTransformer increases exceptionally. Garbage collection doesn't really 
> reduce the size of those objects.
> 
> Any ideas?
> 
Gets the TraxTransformer recycled? Or perhaps the stylesheet caching
mechanism does not work correctly. Each new stylesheet is by default
cached in memory.

Carsten

-- 
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Mime
View raw message