Skip to content

Add fatal JVM error handling #8279

@jordansissel

Description

@jordansissel

We reverted #7987 due to incompatibility with Java versions below 8u92 (we support 8u60), but it would still be nice to immediately exit the JVM on OOME, or in general, any java.lang.Error.

Elasticsearch has their own mechanism for handling this (elastic/elasticsearch#19272), and it looks good, so we maybe should copy it. Hat tip to @jasontedor for pointing it out to me.

I like ES's approach because it handles more than just OOME.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions