tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marinko, Jeff" <>
Subject RE: OutOfMemory Error
Date Thu, 15 Aug 2002 20:06:34 GMT
To answer your first question, I'm assuming you only have so much memory, so
if you keep allocating memory, you'll eventually run out and then you'll
have problems.  As long as the JVM can reclaim memory, you should be

For your second question, it should look something like this:
JAVA -Xms128m -Xmx256m

Where -Xmx256m is your "maximum heap size".  It gave you that error because
the default is 80 megs (which I'm having trouble with), so setting the
minimum above 80 megs gives you the error message.
For the windows standard and non-standard options (such as -Xms and -Xmx).

Hope that clears it up for you.

-----Original Message-----
From: Patrick Codere []
Sent: Thursday, August 15, 2002 1:10 PM
To: 'Tomcat Users List'
Subject: OutOfMemory Error


	outofmemory problem crashes my Standalone Tomcat Server(NT 4, Tomcat
4.03).  large images on the site.  From reading on subject, seems I have to
increase the JVM heap size.
	I created a jsp page that shows me the Total memory and Free memory
on the site.  The free memory balances between a number and another getting
smaller and smaller until it crashes.  If I add memory, does that only mean
its going to take longer before it crashes?

Question? writing 	JAVA -Xms128m get Incompatible initial and maximum
heap size 

Please help

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message