-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request to allow service to crash if direct memory is OOM #1901
Comments
root cause: Closed openjdk issue for similar request: openjdk/jdk#16176 (comment) |
…ect memory is OOM
The direct memory of our service recently ran into an OOM exception for direct memory during testing.
Our expectation initially was that the service would automatically restart because we enabled the jvm flag
-XX:+CrashOnOutOfMemoryError
.Later we found out that this flag is only used for heap or metaspace OOM. More details in this openJDK bug repot
Would it be possible to introduce a new flag that would react in the same way as
-XX:+CrashOnOutOfMemoryError
but includes direct memory.The text was updated successfully, but these errors were encountered: