Skip to content

Commit

Permalink
chore(scipts): pass higher memory limit to buildup and builddown
Browse files Browse the repository at this point in the history
This follows the pattern in aws#24425 which seems to especially happen
after aws#24376 when running these scripts.

This follows the pattern in `scripts/gen.sh` or `/build.sh`.
  • Loading branch information
laurelmay committed Apr 2, 2023
1 parent acabaef commit a94c6e8
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=8196 ${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=8196 ${NODE_OPTIONS:-}"

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

0 comments on commit a94c6e8

Please sign in to comment.