Skip to content

Commit

Permalink
dashboard: reduce GOMAXPROCS on Windows 11 ARM64
Browse files Browse the repository at this point in the history
The Windows 11 ARM64 builder is experiencing occasional OOMs while
building tests. Reducing GOMAXPROCS will reduce the go command's
parallelism and hopefully prevent them.

For golang/go#51019.

Change-Id: Ia4bfdddaca178c130b9b57087a66a54cff903a05
Reviewed-on: https://go-review.googlesource.com/c/build/+/385182
Trust: Heschi Kreinick <[email protected]>
Run-TryBot: Heschi Kreinick <[email protected]>
Auto-Submit: Heschi Kreinick <[email protected]>
Reviewed-by: Bryan Mills <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
  • Loading branch information
heschi authored and gopherbot committed Feb 11, 2022
1 parent 8a3cec9 commit 838d814
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dashboard/builders.go
Original file line number Diff line number Diff line change
Expand Up @@ -2262,6 +2262,7 @@ func init() {
},
env: []string{
"GOARCH=arm64",
"GOMAXPROCS=4", // OOM problems, see go.dev/issue/51019
},
})
addBuilder(BuildConfig{
Expand Down

0 comments on commit 838d814

Please sign in to comment.