In our application , OOM happens and we end up restarting our tomcat servers.
This impacts the business continuity . Is there any way to interrupt any thread which eats up the memory and throw error ( similar to transaction time out ) so that only that particular thread will be impacted
Not sure if this is even possible. Just wanted to check if any body has solution to address this issue