RE: OutOfMemoryError with Seemingly Plenty of Memory

2004-01-27 Thread Shapira, Yoav
Howdy, Although the possibility of a memory leak (sorry--unintended object retention) has not been completely ruled out (yes, I'm running the applications through a profiler), I'm quite puzzled that this problem would occur when, by all indications, memory use is nowhere near the limit. How do

RE: OutOfMemoryError with Seemingly Plenty of Memory

2004-01-27 Thread Dhruva B. Reddy
Well, I have made an assumption in most cases. The OutOfMemoryError is logged with no timestamp to $CATALINA_HOME/logs/catalina.out. We have a script that periodically (every 15 minutes) hits the applications and notifies us of any error response (either status above 400 or the word ERROR in the

RE: OutOfMemoryError with Seemingly Plenty of Memory

2004-01-27 Thread Jeff Tulley
A while back somebody mentioned that if you continuously redeploy a web application, the symptoms you are mentioning occur. This is because of all of the objects that are stored in the permanent generation memory. This permanent generation runs out of space, even though the new generation and

RE: OutOfMemoryError with Seemingly Plenty of Memory

2004-01-27 Thread Dhruva B. Reddy
Hmmm...we don't do hot deploys, but the different generations are definitely something to look at. Thanks! Dhruva --- Jeff Tulley [EMAIL PROTECTED] wrote: A while back somebody mentioned that if you continuously redeploy a web application, the symptoms you are mentioning occur. This is

RE: OutOfMemoryError with Seemingly Plenty of Memory

2004-01-27 Thread Mike Curwen
: RE: OutOfMemoryError with Seemingly Plenty of Memory A while back somebody mentioned that if you continuously redeploy a web application, the symptoms you are mentioning occur. This is because of all of the objects that are stored in the permanent generation memory. This permanent

RE: OutOfMemoryError with Seemingly Plenty of Memory

2004-01-27 Thread Jeff Tulley
Do you edit the web.xml of your web application? That will cause Tomcat to redeploy the application. We had an application that would do this during their installation (so, only one time really), but I can imagine an application that might be trying to dynamically deploy servlets and set their

OutOfMemoryError with Seemingly Plenty of Memory

2004-01-26 Thread Dhruva B. Reddy
I am troubleshooting an issue we've been having with Tomcat 4.1.27. We have several websites on one instance, and it regularly throws an OutOfMemoryError, requiring a restart of Tomcat. Some observations (warning--this is a bit long): * The box runs two 2.8GHz Pentium 4 Hyperthreaded Xeons, and