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

JobBuild
101363
04-22 10:15
d21188fc
04-22 10:13
pull-kubernetes-bazel-build 1386944605710192640 1385174998339031040
pull-kubernetes-bazel-test 1386944605760524288 1385174998364196864
pull-kubernetes-dependencies 1386944605789884416 1385174998385168384
pull-kubernetes-e2e-gce-100-performance 1386944605672443904 1385174998313865216
pull-kubernetes-e2e-gce-ubuntu-containerd 1386944605605335040 1385174998271922176
pull-kubernetes-e2e-kind 1386764841858895872 1385174998439694336
pull-kubernetes-integration 1386944607287250944 1385174998410334208
pull-kubernetes-node-e2e 1386764841829535744 1385174998284505088
pull-kubernetes-typecheck 1386944608960778240 1385174998452277248
pull-kubernetes-verify 1386944610642694144 1385174998481637376