You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by BJ <bi...@cbn.dk> on 2001/07/11 10:50:28 UTC
Tomcat memory-leak problem
Hi!
I'm using apache, tomcat jakarta 3.2.1, jdk1.2.2 on a linux 6.2 and a MS SQL server on a Nt4 with sp 6a.
Having some trouble with memory-leak. After the server has been running for a couple of days, it has eaten up all 512MB of RAM. It is a server with some customers on and it handles about 1000 visitors a day. We use JSP pages and servlets to show webpages. Servlets primary for showing images from database or generating menues...
So... what shall i do? It doesnt help to restart tomcat. I need to reboot the server and start tomcat all over before we can get in contact with the sites again.
Thanks in adv.
/)-._
Y. ' _] Greetings
,.._ |`--"= Bjarne Jørgensen / Bigf00t
/ "-/ `.\
/) | |_ `\|___ Email : root@nrd.dk
\:::::::\___/_\__\_______\
Re: Tomcat memory-leak problem
Posted by Sam Newman <sa...@stamplets.com>.
I too have been having some problems with Tomcat + memory. I put it down to me running win98 and win98 not properly being able to address memory over 128MB. I normally have dreamweaver, netbeans and tomcat running, and reguarly run out of memory (I have 384MB Ram). I haven't noticed any similar problems running tomcat on linux (with a lower spec machine). Windows does have memory management issues however, and it might be the way tomcat threads means it causes problems with memory on win32 platforms. I downloaded Tweakall in the end, as this comes with a niffty utility which can free leaked memory.
sam
----- Original Message -----
From: BJ
To: tomcat-user@jakarta.apache.org
Sent: Wednesday, July 11, 2001 9:50 AM
Subject: Tomcat memory-leak problem
Hi!
I'm using apache, tomcat jakarta 3.2.1, jdk1.2.2 on a linux 6.2 and a MS SQL server on a Nt4 with sp 6a.
Having some trouble with memory-leak. After the server has been running for a couple of days, it has eaten up all 512MB of RAM. It is a server with some customers on and it handles about 1000 visitors a day. We use JSP pages and servlets to show webpages. Servlets primary for showing images from database or generating menues...
So... what shall i do? It doesnt help to restart tomcat. I need to reboot the server and start tomcat all over before we can get in contact with the sites again.
Thanks in adv.
/)-._
Y. ' _] Greetings
,.._ |`--"= Bjarne Jørgensen / Bigf00t
/ "-/ `.\
/) | |_ `\|___ Email : root@nrd.dk
\:::::::\___/_\__\_______\