Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Where do I set the Xms and Xmx values?

843829May 15 2006 — edited Jun 1 2006
I am running Tomcat 5.5.15 and have run into an issue where I am getting the following message "java.lang.OutOfMemoryError: Java heap space".

I have been reading through numerouse posts and documents where it is said to increase the memory with the xms and xmx values. I can not find where to set these values.

can anyone tell me where this is done?

The application is running on the server and I have a web app that uploads images. Problem is when I am uploading large images such as 80mg that I get the error.

Thanks for the help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 29 2006
Added on May 15 2006
5 comments
898 views