From 838d8145fab91d77b699aaa02195f8d213b9072c Mon Sep 17 00:00:00 2001 From: Heschi Kreinick Date: Fri, 11 Feb 2022 13:34:27 -0500 Subject: [PATCH] dashboard: reduce GOMAXPROCS on Windows 11 ARM64 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 Run-TryBot: Heschi Kreinick Auto-Submit: Heschi Kreinick Reviewed-by: Bryan Mills TryBot-Result: Gopher Robot --- dashboard/builders.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dashboard/builders.go b/dashboard/builders.go index 809968ba36..746eadcd0f 100644 --- a/dashboard/builders.go +++ b/dashboard/builders.go @@ -2262,6 +2262,7 @@ func init() { }, env: []string{ "GOARCH=arm64", + "GOMAXPROCS=4", // OOM problems, see go.dev/issue/51019 }, }) addBuilder(BuildConfig{