Skip to content

Native-image: Support -XX:+HeapDumpOnOutOfMemoryError #593

@turing85

Description

@turing85

If we build a native-image with --enable-monitoring=heapdump and start the native-image with ... -XX:+HeapDumpOnOutOfMemoryError ... the process terminates with the error message:

error: Could not find option 'HeapDumpOnOutOfMemoryError'. Did you mean one of these: ExitOnOutOfMemoryError. Use -XX:PrintFlags= to list all available options.

It would be nice if this feature was supported to analyze out of memory errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions