I have a problem, I'm using
Tomcat 7.0.4 in JDK 1.6.0.22 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