OutOfMemoryError not terminating application shutdown

33 views
Skip to first unread message

Luke Pinto

unread,
Jul 24, 2023, 10:30:00 AM7/24/23
to dropwizard-user
Hi all,

Out application doesn't seem to shutdown when an OutOfMemoryError is thrown. There are two places where this seems to be the behavior that I'd like to understand better. Firstly, on requests made to the application exposed as Jersey resources and secondly when an admin task is executed. In both cases, the error seems to be swallowed and the application does not terminate. Given it is standard behavior to terminate on an error, what is the explanation behind this behavior and recommended course of action?

Thanks
Reply all
Reply to author
Forward
0 new messages