File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,13 @@ cp internal-packages/database/prisma/schema.prisma apps/webapp/prisma/
2727cp node_modules/@prisma/engines/* .node apps/webapp/prisma/
2828
2929cd /triggerdotdev/apps/webapp
30- # exec dumb-init pnpm run start:local
31- NODE_PATH=' /triggerdotdev/node_modules/.pnpm/node_modules' exec dumb-init node --max-old-space-size=8192 ./build/server.js
30+
31+
32+ # Decide how much old-space memory Node should get.
33+ # Use $NODE_MAX_OLD_SPACE_SIZE if it’s set; otherwise fall back to 8192.
34+ MAX_OLD_SPACE_SIZE=" ${NODE_MAX_OLD_SPACE_SIZE:- 8192} "
35+
36+ echo " Setting max old space size to ${MAX_OLD_SPACE_SIZE} "
37+
38+ NODE_PATH=' /triggerdotdev/node_modules/.pnpm/node_modules' exec dumb-init node --max-old-space-size=${MAX_OLD_SPACE_SIZE} ./build/server.js
3239
You can’t perform that action at this time.
0 commit comments