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

JobBuild
101366
04-22 10:22
28818d5b
04-22 10:20
pull-kubernetes-bazel-build 1386945108569493504 1385176705936658432
pull-kubernetes-bazel-test 1386945108586270720 1385176705961824256
pull-kubernetes-dependencies 1386945108598853632 1385176705991184384
pull-kubernetes-e2e-gce 1386945108498190336 1385176705852772352
pull-kubernetes-e2e-gce-100-performance 1386945108544327680 1385176705911492608
pull-kubernetes-e2e-kind 1386945108649185280 1385176706062487552
pull-kubernetes-integration 1386945108624019456 1385176706028933120
pull-kubernetes-node-e2e 1386957759567630336 1386951025490923520 1386945108514967552 1385176705877938176
pull-kubernetes-typecheck 1386945108665962496 1385176706087653376
pull-kubernetes-verify 1386945108686934016 1385176706121207808