You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by James House <ja...@partnet.com> on 2000/05/11 22:07:24 UTC
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 1.2.2.05b 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
RE: Anyone experiencing high memory usage by Tomcat?
Posted by Leon Daanen <ld...@oce.nl>.
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.
:startServer
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,
Leon
---------------------------------------------------------------
name: Leon Daanen
E-mail: lda@oce.nl
Tel.: +31 77 359 5172
Fax.: +31 77 359 5337
Location: 3G20
Oce Technologies B.V.
www: http://www.oce.com
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 [mailto:james.house@partnet.com]
Sent: Thursday, May 11, 2000 10:07 PM
To: tomcat-user@jakarta.apache.org
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 1.2.2.05b 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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commmands, email: tomcat-user-help@jakarta.apache.org