File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java Interview Guide
this week in the
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 220.127.116.11 web server to deploy my web application.
The problem after a day my tomcat says: "OutOfMemoryException:
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.
I agree. Here's the link:
subject: Tomcat: Out Of Memory Exception
Use OptimizeIt for ...
memory performance settings?
Tomcat & Memory
Tomcat Out Of Memory
Java.exe - this application has.........
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015