increasing JVM heap space in Tomcat 6.0 (Windows XP)
I'm using the OpenCMS contentmanagement system under Tomcat 6.0. When I'm trying to use a file upload widget (http-upload) I'm getting a java heap error (OutOfMemory) from the OpenCMS servlet. 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. It's only an 18MB file I want to upload using http protocol. -- Christoph Kukulies - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: increasing JVM heap space in Tomcat 6.0 (Windows XP)
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? 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 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: increasing JVM heap space in Tomcat 6.0 (Windows XP)
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
Re: increasing JVM heap space in Tomcat 6.0 (Windows XP)
On 13/08/2009 14:56, Christoph Kukulies wrote: 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 You should probably upgrade to 6.0.20 as soon as you can. p 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 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: increasing JVM heap space in Tomcat 6.0 (Windows XP)
Complementary question: what is the recommended JVM to use with Tomcat: client/jvm.dll or server/jvm.dll? Thanks Fred On Thu, Aug 13, 2009 at 21:56, Christoph Kukulies k...@kukulies.org wrote: jre_1.5.0_06/client/jvm.dll
RE: increasing JVM heap space in Tomcat 6.0 (Windows XP)
From: Fred Janon [mailto:fja...@gmail.com] Subject: Re: increasing JVM heap space in Tomcat 6.0 (Windows XP) Complementary question: what is the recommended JVM to use with Tomcat: client/jvm.dll or server/jvm.dll? Server. Note that some of Sun's Windows JRE downloads do not include a server JVM, but the JDK does. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: increasing JVM heap space in Tomcat 6.0 (Windows XP)
Yes, I always download the JDK and use the server jvm in there. I don't think the JRE download includes the server jvm anymore, at least not in the few I downloaded lately. Fred On Thu, Aug 13, 2009 at 22:08, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Fred Janon [mailto:fja...@gmail.com] Subject: Re: increasing JVM heap space in Tomcat 6.0 (Windows XP) Complementary question: what is the recommended JVM to use with Tomcat: client/jvm.dll or server/jvm.dll? Server. Note that some of Sun's Windows JRE downloads do not include a server JVM, but the JDK does. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: increasing JVM heap space in Tomcat 6.0 (Windows XP)
From: Fred Janon [mailto:fja...@gmail.com] Subject: Re: increasing JVM heap space in Tomcat 6.0 (Windows XP) I don't think the JRE download includes the server jvm anymore, As I recall, the 64-bit Windows JREs contain only the server JVM (feast or famine, it seems). - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org