Skip to content

Commit 6a218d6

Browse files
authored
fix: increase Node.js heap memory limit for dev server to prevent OOM crashes (#6017)
1 parent 757a141 commit 6a218d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"zod": "^4.3.6"
8383
},
8484
"scripts": {
85-
"start": "craco start",
85+
"start": "NODE_OPTIONS='--max-old-space-size=4096' craco start",
8686
"build": "pnpm run build:only && cp -r ./build/* ../build/web/",
8787
"build:only": "pnpm run relay && craco build",
8888
"test": "NODE_OPTIONS='$NODE_OPTIONS --no-deprecation --experimental-vm-modules' jest",

0 commit comments

Comments
 (0)