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

Fix memory overflow experimental scene problem #107

Merged
merged 1 commit into from
Jan 4, 2022
Merged

Fix memory overflow experimental scene problem #107

merged 1 commit into from
Jan 4, 2022

Conversation

xcaspar
Copy link
Member

@xcaspar xcaspar commented Jan 4, 2022

Signed-off-by: xcaspar changjun.xcj@alibaba-inc.com

Describe what this PR does / why we need it

Does this pull request fix one issue?

Describe how you did it

Modify the file written to the oom score from /proc/%s/oom_score_adj to /proc/%s/oom_adj.

Describe how to verify it

Package and test it.

blade c mem load --avoid-being-killed --mode ram

Special notes for reviews

The--avoid-being-killed flag must be added to prevent the process from being killed.

Signed-off-by: xcaspar <changjun.xcj@alibaba-inc.com>
@xcaspar xcaspar added this to the v1.5.0 milestone Jan 4, 2022
@xcaspar xcaspar requested a review from MandssS January 4, 2022 03:03
@xcaspar xcaspar added the type/bug Something isn't working label Jan 4, 2022
@MandssS MandssS merged commit 890f359 into master Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
2 participants