I don't think so. I have one class that access the database for the whole
webapp. And it closes the result sets, statements and connection each in a
try/catch. Also, I have the log abandoned turned on.

I will try to turn off the jmx as suggested by Arthur, cannot hurt as I
don't use the admin app anyway. 


Chanan Braunstein
Knovel Corp.
Web Development Manager
607-773-1840 x672
http://www.knovel.com
 

-----Original Message-----
From: Bernhard Slominski [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 15, 2004 10:59 AM
To: 'Tomcat Users List'
Subject: AW: Memory Leak

Hi,

I had a simalar problem when not closing database related stuff
(connections, resultsets, statemnts).
Does that apply to your application maybe?

Cheers

Bernhard

-----Urspr�ngliche Nachricht-----
Von: Chanan Braunstein [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 15. April 2004 16:27
An: 'Tomcat Users List'
Betreff: Memory Leak


Hello,
    I am having a problem with Tomcat 5.0.19 on windows with JDK 1.4.2_02.
The memory that java.exe is using keeps growing till the point that tomcat
stops responding. 
    Using a profiler, doesn't seem to give me any clues. I can see the
memory being used by certain classes go up (mainly char[]) and even reach
all the way to the point that used java heap equals to the java heap, but
then GC kicks in and drops down back to where it was when I started the
test. However, the memory in the task manager keeps going up. For example
right now it is at 717,000 K, even though the heap used is at about 200,000
K. What am I missing here?
    My current params are -server -Xrs -Xms356M -Xmx356M - I tried all kinds
of different sizes for the memory but that doesn't really help. Any
suggestions as to where (how) to look to find my memory leak?
 
 
Chanan Braunstein
Knovel Corp.
Web Development Manager
607-773-1840 x672
http://www.knovel.com
 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to