From a94c6e8a4ccedc9c8eb49058074654fda7a723e6 Mon Sep 17 00:00:00 2001 From: Kyle Laker Date: Sat, 1 Apr 2023 21:13:03 -0400 Subject: [PATCH] chore(scipts): pass higher memory limit to `buildup` and `builddown` This follows the pattern in #24425 which seems to especially happen after #24376 when running these scripts. This follows the pattern in `scripts/gen.sh` or `/build.sh`. --- scripts/builddown | 2 ++ scripts/buildup | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/builddown b/scripts/builddown index 55c98e0fa9140..febd0022df770 100755 --- a/scripts/builddown +++ b/scripts/builddown @@ -2,6 +2,8 @@ set -euo pipefail scriptdir=$(cd $(dirname $0) && pwd) +export NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" + echo "************************************************************" echo " builddown usage:" echo " - execute 'builddown --resume' to resume after failure" diff --git a/scripts/buildup b/scripts/buildup index e7dcd324d91ff..a32b341505897 100755 --- a/scripts/buildup +++ b/scripts/buildup @@ -2,6 +2,8 @@ set -euo pipefail scriptdir=$(cd $(dirname $0) && pwd) +export NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" + echo "************************************************************" echo " buildup usage:" echo " - execute 'buildup --resume' to resume after failure"