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"