From 344413568d56911df8a9aa7d4335abe7d7650dd3 Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 16 Sep 2020 00:46:34 +0900 Subject: [PATCH] Increase NodeJS max heap to 4GB RAM for backend instance --- backend/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/package.json b/backend/package.json index 1de591301..867dc0531 100644 --- a/backend/package.json +++ b/backend/package.json @@ -21,7 +21,7 @@ "main": "index.ts", "scripts": { "build": "tsc", - "start": "npm run build && node dist/index.js", + "start": "npm run build && node --max-old-space-size=4096 dist/index.js", "test": "echo \"Error: no test specified\" && exit 1" }, "dependencies": {