Increase NodeJS max heap to 4GB RAM for backend instance

This commit is contained in:
wiz 2020-09-16 00:46:34 +09:00
parent 77cbb302ce
commit 344413568d
No known key found for this signature in database
GPG Key ID: A394E332255A6173

View File

@ -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": {