tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bjarne Jørgensen <>
Subject Re: Tomcat memory-leak problem
Date Wed, 11 Jul 2001 13:18:08 GMT

Okay. Sounds okay. Because we have some "caching" servlets, but the object
should be terminated after it has been used.

Our server hosts 3 heavy-trafic sites, and you may be right about the source
of the memory leak is from the servlet pages.

Then i would like to know if there is a program to "clean up" objects. Like
a garbage collection on the system.


----- Original Message -----
From: "Randy Layman" <>
To: <>
Sent: Wednesday, July 11, 2001 1:13 PM
Subject: RE: Tomcat memory-leak problem

It isn't Tomcat, and it isn't Tomcat on windows that is causing your
problem.  I have a server, running NT 4 and has been running it for close to
2 months under moderate load, and haven't had any memory leaks. I would look
at your web applications and find the place where you are holding on to
memory.  I guarantee that it is your application and not Tomcat.


-----Original Message-----
From: Sam Newman []
Sent: Wednesday, July 11, 2001 5:32 AM
Subject: Re: Tomcat memory-leak problem

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.

----- Original Message -----
From: BJ
Sent: Wednesday, July 11, 2001 9:50 AM
Subject: Tomcat memory-leak problem


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 :

View raw message