Skip to content

Commit

Permalink
feat: add max old space size node argument to prevent JS heap memory …
Browse files Browse the repository at this point in the history
…issues
  • Loading branch information
HRemonen committed Jun 10, 2024
1 parent 5e4c261 commit fca8eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"start": "docker compose up",
"start:dev": "NODE_ENV=development nodemon src/index.js",
"start:prod": "node src/index.js",
"start:prod": "node --max-old-space-size=4096 src/index.js",
"test": "vitest",
"lint": "eslint src/**/*",
"sync": "./scripts/sync_code.sh ../palaute"
Expand Down

0 comments on commit fca8eef

Please sign in to comment.