I got a requested causing OutOfMemory exception, this caused Tomcat to stop responding, is there a way to gracefully kill such a request and have Tomcat continue serving other requests?
Using Tomcat7.
I got a requested causing OutOfMemory exception, this caused Tomcat to stop responding, is there a way to gracefully kill such a request and have Tomcat continue serving other requests?
Using Tomcat7.
No. OOME is a JVM wide issue that can't be constrained to a single request. You need to fix the root cause of the OOME error rather than trying to limit its effects.