1

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

Sandeepa
  • 3,457
  • 5
  • 25
  • 41
lives
  • 1,243
  • 5
  • 25
  • 61

1 Answers1

0

If your thread also takes much time, you can try the Stuck Thread Detection Valve in order to interrupt it. Please note there is no warranty and should be considered as experimental. Let us know if this helped in your case.

Eugène Adell
  • 3,089
  • 2
  • 18
  • 34