cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: Memory greed investigation
Date Wed, 12 Jul 2000 00:08:09 GMT
Yann wrote:
> 
> Hi Cocooners,
> 
> I have recently been investigating why my Cocoon 1.7.4 -based NT server eats
> so much memory without some of it being reclaimed when documents are served.
> 
> So I downloaded a 7 days evaluation copy of KLGroup's JProbe.
> 
> I did a test on a Cocoon XSP page using the XSP SQL tag lib that is supposed
> to return around 86kb of data. JProbe showed that an ElementImpl object was
> used to construct the XML tree. That object was garbaged collected, no
> problem. A lot of String and char[] were allocated in memory and I suspect
> it comes from the XSP cache. However after requesting the same page a couple
> of times I noticed that some Xerces objects were not garbaged collected
> (including the ElementImpl none).

Hmmmm.
 
> Is that an issue known within the Cocoon development team?

If it's not in the cache, no, it's a memory leak.
 
> I can't afford to have the NT box memory eaten up bit by bit until the VM
> crashes (and it did).

Of course, nobody would like this.

> Or is that a more general Java issue?

Have you tried different JVMs?
 
> Thx,
> 
> Yann.
> 
> P.S. I originally thought it was a JDBC memory leak issue but I now think
> it's a Cocoon issue.

It may be. Can you please tell us more about it? I'm sure this interests
almost everyone around here.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------



Mime
View raw message