> From: Ramprasad Venkata Inala [mailto:rin...@cordys.com]
> Subject: OutOfMemory Exception
> 
> I have been using Tomcat6.1

There's no such level; what are you really running?  Also, what JVM are you 
using?

> The memory size of process has hit high and doesn't come down at all.

And a heap profiler says what?  You can also look at the heap after the fact if 
you set the JVM parameter:
  -XX:+HeapDumpOnOutOfMemoryError

Put it in CATALINA_OPTS if running Tomcat from the command line, or use the 
Java tab of tomcat6w.exe to add it to the JVM parameters if running as a 
service.  Then use jhat from the JDK to find out what's eating up all the space.

You either have a memory leak in your webapp, or you're simply trying to 
receive more data than will fit in the heap.  If the latter, look at Apache 
Commons FileUpload to fetch the data:
http://commons.apache.org/fileupload/

If the former, fix your webapp.

 - 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

Reply via email to