OutOfMemoryError not terminating application shutdown
33 views
Skip to first unread message
Luke Pinto
unread,
Jul 24, 2023, 10:30:00 AM7/24/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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?