Skip to content

Commit cbf8568

Browse files
oleeskildclaude
andcommitted
fix: raise eleventy heap cap from 2048 to 3072 MB
#397 lowered --max-old-space-size from 4096 to 2048 based on a 210-page garden. Large text-heavy gardens (~1100+ notes) exceed that: the build dies with a V8 "allocation failure" at ~2 GB heap while the 4Gi build container still has half its memory unused. 3072 gives those gardens room while still leaving ~1 GB on a 4Gi container for sharp's native allocations, which was the reason #397 lowered it in the first place. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FuHUwv79QekUJwCMB4rpvh
1 parent 2e5ad98 commit cbf8568

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"dev": "npm-run-all get-theme build:sass --parallel watch:*",
99
"watch:sass": "sass --watch src/site/styles:dist/styles",
1010
"watch:eleventy": "cross-env ELEVENTY_ENV=dev eleventy --serve",
11-
"build:eleventy": "cross-env ELEVENTY_ENV=prod UV_THREADPOOL_SIZE=16 NODE_OPTIONS=--max-old-space-size=2048 eleventy",
11+
"build:eleventy": "cross-env ELEVENTY_ENV=prod UV_THREADPOOL_SIZE=16 NODE_OPTIONS=--max-old-space-size=3072 eleventy",
1212
"build:sass": "sass src/site/styles:dist/styles --style compressed",
1313
"get-theme": "node src/site/get-theme.js",
1414
"build": "npm-run-all get-theme build:*",

0 commit comments

Comments
 (0)