tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leon Daanen" <>
Subject RE: Anyone experiencing high memory usage by Tomcat?
Date Fri, 12 May 2000 06:07:39 GMT
Yes, I am experienced on that case. Unfortunately I have the same problems.
But I have more problems. I am not able to raise the memory allocated for
the java virtual machine. Below some details:

 I use an upload jsp file through which I will be able to upload big files
(perhaps 100Mb or more). I changed the tomcat.bat file by adding the
java -Xmx100m piece (which should allocate 100Mb of memory for the jvm). But
this is not working. I am getting an OutOfMemory error when I am uploading a
file which is bigger than 50 Mb.

Below the piece of the tomcat.bat file where the jvm is started and should
allocate 100Mb for the java virtual machine.

echo Starting tomcat in new window
echo Using classpath: %CLASSPATH%
start java -Xmx100m -Dtomcat.home=%TOMCAT_HOME%
org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
goto cleanup

Can anybody tell me what I am doing wrong.

Thank in advance,


name:		Leon Daanen
Tel.:		+31 77 359 5172
Fax.:		+31 77 359 5337
Location:	3G20

Oce Technologies B.V.
Tel.:	+31 77 359 2222
P.O. Box 101
5900 MA Venlo
The Netherlands
Opinions and views expressed in this message
are my own, they do not necessarily represent
those of Océ

-----Original Message-----
From: James House []
Sent: Thursday, May 11, 2000 10:07 PM
Subject: Anyone experiencing high memory usage by Tomcat?

I'm wondering if there is anyone else who is experiencing
extremely high memory usage by Tomcat - or if there is
a known memory leak issue.

If we run the application we are developing under JRun,
it typically uses about 25 to 40 megabytes, depending
on the load.

Under Tomcat the memory usage is seems to grow to
whatever size you allow the VM to grab, and then crashes
with out of memory exceptions.

We're using Sun's JDK on Solaris, with the
java parameters  -Xms32m -Xmx256m

(so under tomcat, the application uses about 256 megs)

Any help / hints / suggestions appreciated.

James House
Software Engineer
PartNET, Inc.  Salt Lake City, UT

To unsubscribe, email:
For additional commmands, email:

View raw message