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

build(dockerfile): Set GODEBUG=madvdontneed=1. #6956

Merged
merged 1 commit into from
Nov 24, 2020

Conversation

danielmai
Copy link
Contributor

@danielmai danielmai commented Nov 23, 2020

Set GODEBUG=madvdontneed=1 to lower Go RSS memory usage.

MADV_DONTNEED is the default behavior in the upcoming Go 1.16:
https://go-review.googlesource.com/c/go/+/267100/


This change is Reviewable

Set GODEBUG=madvdontneed=1 to lower Go RSS memory usage.

MADV_DONTNEED is the default behavior in the upcoming Go 1.16:
https://go-review.googlesource.com/c/go/+/267100/
@danielmai danielmai requested review from manishrjain and a team as code owners November 23, 2020 23:35
Copy link
Contributor

@darkn3rd darkn3rd left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @manishrjain)

@danielmai danielmai merged commit 2d46a36 into release/v20.03 Nov 24, 2020
@danielmai danielmai deleted the danielmai/v20.03-madvdontneed branch November 24, 2020 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants