Skip to content

Commit

Permalink
chore(scripts): pass higher memory limit in buildup and builddown (
Browse files Browse the repository at this point in the history
…#24905)

This follows the pattern in #24425 which seems to especially happen
after #24376 when running these scripts.

Closes #24932

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
laurelmay authored Apr 5, 2023
1 parent 2a0ee5e commit 6e77287
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/builddown
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
set -euo pipefail
scriptdir=$(cd $(dirname $0) && pwd)

export NODE_OPTIONS="--max-old-space-size=6144 ${NODE_OPTIONS:-}"

echo "************************************************************"
echo " builddown usage:"
echo " - execute 'builddown --resume' to resume after failure"
Expand Down
2 changes: 2 additions & 0 deletions scripts/buildup
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
set -euo pipefail
scriptdir=$(cd $(dirname $0) && pwd)

export NODE_OPTIONS="--max-old-space-size=6144 ${NODE_OPTIONS:-}"

echo "************************************************************"
echo " buildup usage:"
echo " - execute 'buildup --resume' to resume after failure"
Expand Down

0 comments on commit 6e77287

Please sign in to comment.