Caldarale, Charles R schrieb:
From: Christoph Kukulies [mailto:k...@kukulies.org]
Subject: increasing JVM heap space in Tomcat 6.0 (Windows XP)

I tried to start the Tomcat6 service under Windows XP then manually
giving it the start parameters
-Xms64m -Xmx1024m, but I'm still getting the error.

What JVM version are you using?

What *exact* Tomcat version are you using?

Tomcat 6.0.10
jre_1.5.0_06/client/jvm.dll

I terribly goofed, sorry to say. I tweaked the values on the wrong machine.
Then I found out when comparing my notebook with the server that on the server
the Apache Tomcat Program group was missing, but found
that executing
tomcat6w.exe  //ES/Tomcat6

invokes the configurator panel.

I changed it to 128M/128M now and my upload works. Sorry again.

--
Christoph Kukulies

Have you verified that your heap settings are actually being used?  (BTW, it's 
usually better in a server environment to have the Xms and Xmx values the same 
- less heap thrashing.)

Are you really running out of memory?  The JVM throws an OOME for a variety of 
reasons, only one of which is heap exhaustion.

JConsole is a useful tool for monitoring a running JVM.

 - Chuck


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to