This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
RE: Kawa servlet leaks
- From: "Dominique Boucher" <dboucher at nuecho dot com>
- To: "'Jim White'" <jim at pagesmiths dot com>
- Cc: "'Kawa List'" <kawa at sources dot redhat dot com>
- Date: Wed, 19 Nov 2003 09:55:53 -0500
- Subject: RE: Kawa servlet leaks
Jim, Chris, Stan,
Thanks for your replies. But, unfortunately, I do get a fatal memory
exhaustion error if I make enough requests to the servlet. So there
seems to be something else going on. I will consider rewriting the
servlet directly in Java, i.e. without the servlet interface provided by
Kawa.
Dominique
-----Original Message-----
From: kawa-owner@sources.redhat.com
[mailto:kawa-owner@sources.redhat.com] On Behalf Of Jim White
Sent: 19 novembre 2003 00:39
To: Dominique Boucher
Cc: 'Kawa List'
Subject: Re: Kawa servlet leaks
Dominique Boucher wrote:
> I wrote a very simple Kawa servlet (using the KRL syntax), and it
seems
> to leak a lot with Tomcat 4.1.24 on Windows XP (using Sun's JDK
> 1.4.1_01). Here is the source file:
> ...
I can't be sure that is not a problem with Kawa, but what you described
is a classic problem with the JVM in which you starve the GC thread. If
the process grows to the limit but does not get a fatal memory
exhaustion error, then I believe what you're seeing is fairly normal.
Jim
--
"I love deadlines. I love the whooshing sound they make as they fly by."
-- Douglas Adams