xmudrii: Automated cherry pick of #96882: Make parallel build memory threshold configurable

JobBuild
unknown
04-27 09:06
101365
04-22 10:21
404db437
04-22 10:20
pull-kubernetes-bazel-build 1386944605739552768 1385176610579156992
pull-kubernetes-bazel-test 1386944605768912896 1385176610604322816
pull-kubernetes-dependencies 1386944606444195840 1385176610633682944
pull-kubernetes-e2e-gce-100-performance 1386944609929662464 1385176610545602560
pull-kubernetes-e2e-gce-ubuntu-containerd 1386944605630500864 1385176610491076608
pull-kubernetes-e2e-kind 1386970099390353408 1386970091865772032 1386957789712093184 1386944609803833344 1385176610692403200
pull-kubernetes-integration 1386944608121917440 1385176610671431680
pull-kubernetes-node-e2e 1386944605676638208 1385176610516242432
pull-kubernetes-typecheck 1386944611468972032 1385176610717569024
pull-kubernetes-verify 1386944612320415744 1385176610742734848