RE: OutOfMemory Exception

2009-05-14 Thread Caldarale, Charles R
> From: Ramprasad Venkata Inala [mailto:rin...@cordys.com] > Subject: OutOfMemory Exception > > I have been using Tomcat6.1 There's no such level; what are you really running? Also, what JVM are you using? > The memory size of process has hit high and doesn't come

OutOfMemory Exception

2009-05-14 Thread Ramprasad Venkata Inala
w, no hassels ). As a new requirement we developed another application relying on the same architecture. In this app we have voluminous data. So, we faced issues like "time-out exception" which was increased in server.xml as mentioned below. Later we ran in OutOfMemory Exception. So

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
omcat throw an OutOfMemory exception? 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'

Re: When does Tomcat throw an OutOfMemory exception?

2008-11-30 Thread Leon Rosenberg
m vendor thought funny regards Leon On Sun, Nov 30, 2008 at 2:16 PM, Karim Zaki <[EMAIL PROTECTED]> wrote: > Greetings all, > > I would like someone to shed a bit of light on when exactly Tomcat throws an > OutOfMemory exception. Is it when its physical memory usage (working s

When does Tomcat throw an OutOfMemory exception?

2008-11-30 Thread Karim Zaki
Greetings all, I would like someone to shed a bit of light on when exactly Tomcat throws an OutOfMemory exception. Is it when its physical memory usage (working set) reaches the maximum limit configured in the JVM startup parameters, or are other conditions that can cause this? I've no

Re: OutOfMemory exception when deploying using manager app / catalina-ant

2007-06-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, Chris Jölly wrote: > removing and deploying the war works, but after a few removals/deployments > the vm reports an java.lang.OutOfMemory exception and stops > deployment of the application. if i increase the memory size > of the tomcat vm t

OutOfMemory exception when deploying using manager app / catalina-ant

2007-06-28 Thread Chris Jölly
Hello! i use ant for application building and the ant tasks defined in catalina-ant.jar Catalina-Ant-Task for deploying the ready build war file to a tomcat installation. (tomcat 4.1.29) removing and deploying the war works, but after a few removals/deployments the vm reports an java.lang.Out

Re: OutOfMemory Exception

2005-10-17 Thread Alain Gaeremynck
I think the out of memory is due to the fact that there is no way to unload a class loader from memory. When you restart a context it creates onother class loader for the context and thus after a while pouf no more memory.. I'm pretty sure i saw that somewhere t.n.a. wrote: David Delb

Re: OutOfMemory Exception

2005-10-17 Thread t.n.a.
David Delbecq wrote: If the problem is related to hibernate libs, better check that with them. As I said, I make tapestry/cayenne-based apps, but I don't know if the problem might be related to database connection handling/pooling or something like that stopping the VM from freeing memory

Re: OutOfMemory Exception

2005-10-17 Thread David Delbecq
If the problem is related to hibernate libs, better check that with them. t.n.a. a écrit : > Enrique Rodriguez wrote: > >> This is what Peter said to me. I set permgen to 256 MB and i still not >> have any OutOfMemory exception. >> >> Regards, Enrique. &g

Re: OutOfMemory Exception

2005-10-17 Thread t.n.a.
Enrique Rodriguez wrote: This is what Peter said to me. I set permgen to 256 MB and i still not have any OutOfMemory exception. Regards, Enrique. I've added JAVA_OPTS="$JAVA_OPTS -server -XX:MaxPermSize=256m" to my catalina.sh on the devel. server, hope I can get

Re: OutOfMemory Exception

2005-10-17 Thread David Delbecq
Most probably you webapp is not freeing some ressources when unloaded. This is always a tricky problem to solve. The easiest way it to use some profiling tool, then touch you web.xml until you get a outofmemory. When this happens use to profiling tool to track where memory is lost. That is what has

Re: OutOfMemory Exception

2005-10-17 Thread Enrique Rodriguez
This is what Peter said to me. I set permgen to 256 MB and i still not have any OutOfMemory exception. Regards, Enrique. El mar, 11-10-2005 a las 17:11 +0100, Peter Crowther escribió: > > From: Enrique Rodriguez [mailto:[EMAIL PROTECTED] > > What i don't understand is that

OutOfMemory Exception

2005-10-17 Thread t.n.a.
Hi everyone, on a 5.5.x(7+) tomcat production server I reload a web app with a touch web.xml command after I upload new versions of classes and after several such reloads, none of the tomcat hosted apps are available and I get the error in the subject line. Any ideas what the problem may be?