From 31a81c17cafee26f944fdac1250a8c8350b2bc4b Mon Sep 17 00:00:00 2001 From: Raymond Jacobson Date: Thu, 15 Sep 2022 12:34:12 -0700 Subject: [PATCH] Increase node mem in cnode (#3876) * Increase node mem * Switch to 4g --- creator-node/scripts/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/creator-node/scripts/start.sh b/creator-node/scripts/start.sh index 8a29e67f778..a9d6265f815 100755 --- a/creator-node/scripts/start.sh +++ b/creator-node/scripts/start.sh @@ -76,7 +76,7 @@ if [[ "$devMode" == "true" ]]; then npx nodemon --exec 'node --inspect=0.0.0.0:${debuggerPort} --require ts-node/register src/index.ts' --watch src/ | tee >(logger) fi else - node build/src/index.js | tee >(logger) + node --max-old-space-size=4096 build/src/index.js | tee >(logger) fi wait