[build] cmd/watchflakes: set GOMEMLIMIT in container

2 views
Skip to first unread message

Gopher Robot (Gerrit)

unread,
Dec 19, 2025, 1:28:57 PM (2 days ago) Dec 19
to Dmitri Shuralyov, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Dmitri Shuralyov, Michael Knyszek, golang-co...@googlegroups.com

Gopher Robot submitted the change with unreviewed changes

Unreviewed changes

1 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:

```
The name of the file: cmd/watchflakes/deployment-prod.yaml
Insertions: 14, Deletions: 14.

The diff is too large to show. Please review the diff.
```

Change information

Commit message:
cmd/watchflakes: set GOMEMLIMIT in container

Some of the recent watchflakes restarts have OOMKilled as the reason.

watchflakes might not need as much memory in steady state as it does
during its peaks. Set GOMEMLIMIT to 90% of the container's requested
memory as a step to maybe help. Based on https://go.dev/doc/gc-guide.

For golang/go#70743.
Change-Id: I18f254149718b65c5bec6589b6cf9ffc43424d18
TryBot-Bypass: Dmitri Shuralyov <dmit...@golang.org>
Reviewed-by: Dmitri Shuralyov <dmit...@google.com>
Auto-Submit: Dmitri Shuralyov <dmit...@golang.org>
Reviewed-by: Michael Knyszek <mkny...@google.com>
Files:
  • M cmd/watchflakes/deployment-prod.yaml
Change size: S
Delta: 1 file changed, 15 insertions(+), 12 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Dmitri Shuralyov, +2 by Michael Knyszek
  • requirement satisfiedTryBots-Pass: TryBot-Bypass+1 by Dmitri Shuralyov
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: build
Gerrit-Branch: master
Gerrit-Change-Id: I18f254149718b65c5bec6589b6cf9ffc43424d18
Gerrit-Change-Number: 676775
Gerrit-PatchSet: 3
Gerrit-Owner: Dmitri Shuralyov <dmit...@golang.org>
Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
Gerrit-Reviewer: Dmitri Shuralyov <dmit...@google.com>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
Gerrit-Reviewer: Michael Knyszek <mkny...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages