Re: When does Tomcat throw an OutOfMemory exception?

2008-11-30 Thread Kees Jan Koster
Dear Chuck, Actually, in such situations you get 'java.io.IOException: Too many open files' or 'java.net.SocketException: Too many open files'. Not an OutOfMemory error. Only if it's related to an application-initiated action, such as opening a stream. If FD exhaustion is detected during

RE: When does Tomcat throw an OutOfMemory exception?

2008-11-30 Thread Caldarale, Charles R
> From: Kees Jan Koster [mailto:[EMAIL PROTECTED] > Subject: Re: When does Tomcat throw an OutOfMemory exception? > > Actually, in such situations you get 'java.io.IOException: Too many > open files' or 'java.net.SocketException: Too many open files'. Not an

Re: When does Tomcat throw an OutOfMemory exception?

2008-11-30 Thread Kees Jan Koster
Dear Chuck, To add to Leon's list: running out of file descriptors. Actually, in such situations you get 'java.io.IOException: Too many open files' or 'java.net.SocketException: Too many open files'. Not an OutOfMemory error. -- Kees Jan http://java-monitor.com/forum/ [EMAIL PROTECTED]

RE: When does Tomcat throw an OutOfMemory exception?

2008-11-30 Thread Caldarale, Charles R
> From: Karim Zaki [mailto:[EMAIL PROTECTED] > Subject: RE: When does Tomcat throw an OutOfMemory exception? > > The JVM doesn't indicate which of these conditions > actually caused the exception, though, does it? Depends on the JVM version and vendor. Newer ones from Su

RE: When does Tomcat throw an OutOfMemory exception?

2008-11-30 Thread Karim Zaki
Thanks for the clarification. The JVM doesn't indicate which of these conditions actually caused the exception, though, does it? -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Sunday, November 30, 2008 3:55 PM To: Tomcat Users List Subject: Re: When does T

Re: When does Tomcat throw an OutOfMemory exception?

2008-11-30 Thread Leon Rosenberg
hi, there are many occasions. 1. if there is no memory left (-Xmx) 2. if there is no perm gen space left (for example to many jsps) 3. if there is not enough space in the current heap and no time to enlarge the heap (xms < xmx) 4. if a new thread couldn't be created 5-10 whatever the jvm vendor t