reduce prod heap size

This commit is contained in:
k00b 2024-10-08 22:25:08 -05:00
parent adcb80782b
commit 29b3f6008e
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
"dev": "NODE_OPTIONS='--trace-warnings' next dev",
"build": "next build",
"migrate": "prisma migrate deploy",
"start": "NODE_OPTIONS='--trace-warnings --max-old-space-size=6144' next start -p $PORT --keepAliveTimeout 120000",
"start": "NODE_OPTIONS='--trace-warnings --max-old-space-size=4096' next start -p $PORT --keepAliveTimeout 120000",
"lint": "standard",
"test": "NODE_OPTIONS='--experimental-vm-modules' jest",
"worker": "tsx --tsconfig jsconfig.json --trace-warnings worker/index.js",