Thanks a lot,
Still, I really feel stupid here, but I tried java -Xms128m -Xmx256m
on the command prompt and get the Usage: java [-options] list
Thanks
-----Original Message-----
From: Marinko, Jeff [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 4:07 PM
To: 'Tomcat Users List'
Subject: RE: OutOfMemory Error
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
alright.
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.
http://java.sun.com/j2se/1.4/docs/tooldocs/windows/java.html
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 [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 1:10 PM
To: 'Tomcat Users List'
Subject: OutOfMemory Error
Hi,
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.
Question?
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
Pat
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>