Skip to content

Commit

Permalink
Merge pull request #51 from opyh/feature/oom-warning
Browse files Browse the repository at this point in the history
Add OOM error warning to build script; resolves #50
  • Loading branch information
GeoffreyBooth committed Dec 30, 2020
2 parents aa87521 + ab1b213 commit 7e7d5be
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/docker/build-meteor-bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

set -o errexit

printf "\n[-] Building Meteor application bundle...\n\n"
printf "\n[-] Building Meteor application bundle...\n"
printf "\n This container can use `free -m | grep Mem: | awk '{print $2}'`M memory in total."
printf "\n If it aborts with an out-of-memory (OOM) or ‘non-zero exit code 137’ error message,"
printf "\n please increase the container’s available memory.\n"
printf "\n See https://github.com/meteor/meteor/issues/9568 for details.\n\n"

mkdir --parents $APP_BUNDLE_FOLDER

Expand Down

0 comments on commit 7e7d5be

Please sign in to comment.