Created
August 24, 2017 18:14
-
-
Save mountaindude/8180479c4582f3fb19fd33e7f4ff297e to your computer and use it in GitHub Desktop.
Node.js and PM2 memory limits
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Node | |
node --max-old-space-size=1024 app.js # 1Gb | |
# PM2 | |
pm2 start app.js --node-args="--max-old-space-size=1024" # 1Gb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment