This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Kawa servlet leaks


Hi,

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:

--------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
[
 (define entry '("12345" "fr" "Dominique" "7" "M" "oui" "1234" "345"
"email"))
 
]<profile>
	<id>[(list-ref entry 0)]</id>
	<langue>[(list-ref entry 1)]</langue>
	<nom>[(list-ref entry 2)]</nom>
	<age>[(list-ref entry 3)]</age>
	<sexe>[(list-ref entry 4)]</sexe>
	<lettre>[(list-ref entry 5)]</lettre>
	<present>[(list-ref entry 6)]</present>
	<conseil>[(list-ref entry 7)]</conseil>
	<courriel>[(list-ref entry 8)]</courriel>
</profile>
--------------------------------------------

I compile it using 'kawa --servlet --krl -C file.scm'.

I wrote a simple client application that sends 2000 requests to the
servlet. The Tomcat process grows from 30Mb to 78Mb. I'm sure this is
not normal. Any hint? [I will soon have to put a Kawa-based web
application in production mode, so this is a critical issue for me.]

Thanks in advance,


Dominique Boucher, Ph.D.
Nü Echo Inc.
www.nuecho.com



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]