By Date: <-- -->
By Thread: <-- -->

tomcat



> From: Jignesh Shah [mailto:jhshahus (at) yahoo.com] 
> After deploying my application on tomcat, I need to
> upload few files in my application. Some files can be
> as large as 7MB. The code used to work fine on JRUN
> and works fine generally on Tomcat, however sometimes
> when I am in https mode, I see out of memory errors.

- Which version of Tomcat?  It helps us to help you.

- Have you modified the default stack and heap memory for Tomcat?

> So do I have to set some parameter in server.xml so
> that it can reserve some memory for upload ?

No, you have to set it in the JVM startup so that the VM has enough
memory.  http://tomcat.apache.org/faq/memory.html should help.

		- Peter

---------------------------------------------------------------------
To start a new topic, e-mail: users (at) tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org