A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Tomcat: Out Of Memory Exception
Joined: Mar 10, 2011
Nov 15, 2011 07:24:29
I have a problem, I'm using
7.0.4 in JDK 188.8.131.52 web server to deploy my web application.
The problem after a day my tomcat says: "OutOfMemoryException: Java Heap Space", and the memory that I assigned is 500 MB in JAVA_OPTS and CATALINA_OPTS environments variables.
I'm using the Nio Protocol in my application because I need some comet procedures.
My server is ubuntu 10.04 LTS
Author and all-around good cowpoke
Joined: Mar 22, 2000
Nov 16, 2011 07:45:09
If this was my problem I would be using the Tomcat management app to monitor Thread and memory use. Perhaps you will be able to see a
For example, you might see some request threads that never complete a request.
It is sorta covered in the
JavaRanch Style Guide
subject: Tomcat: Out Of Memory Exception
Use OptimizeIt for ...
Java.exe - this application has.........
memory performance settings?
Tomcat & Memory
Tomcat Out Of Memory
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014