Skip to content
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

Add exit_on_oom=true #744

Merged
merged 4 commits into from
Apr 29, 2024
Merged

Add exit_on_oom=true #744

merged 4 commits into from
Apr 29, 2024

Conversation

illegalnumbers
Copy link
Member

Motivation

Exit the client when it is OOM Killed.

Modifications

Add -Dpulsar.allocator.exit_on_oom=true to common.go

Verifying this change

  • Make sure that the change passes the CI checks.

This change is a trivial rework / code cleanup without any test coverage.

Documentation

Need to update docs?

  • no-need-doc

Internals change resolving a bug.

@illegalnumbers illegalnumbers requested review from nlu90, freeznet and a team as code owners April 24, 2024 18:48
@github-actions github-actions bot added the no-need-doc This pr does not need any document label Apr 24, 2024
Makefile Outdated
@@ -1,5 +1,5 @@
# Current Operator version
VERSION ?= 0.20.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should only be updated when do release

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why would we not want to release this?

Copy link
Member Author

@illegalnumbers illegalnumbers Apr 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also, the version on master is incorrect anyways, there is a v0.20.1 release on dockerhub already

Copy link

@yuweisung yuweisung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just comment: no need to change anything.
when jvm requests to allocate more "direct memory" and failed, it is not oom. It is just failed to allocate memory.

@freeznet freeznet added this to the 2023-04 v0.21.0 milestone Apr 26, 2024
@illegalnumbers illegalnumbers merged commit fa5cebb into master Apr 29, 2024
11 checks passed
@illegalnumbers illegalnumbers deleted the ben/oom-error branch April 29, 2024 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
m/2024-04 no-need-doc This pr does not need any document
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants