Skip to content

Commit 955c8ac

Browse files
committed
meta: add changeset for the memory changes
Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 1c0cd03 commit 955c8ac

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎.changeset/keep-memory-down.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@doc-kit/core': patch
3+
'@doc-kit/generator-react': patch
4+
---
5+
6+
Builds use less memory, most of all with few threads: each worker's young generation is limited to 32MB, a single thread processes one chunk at a time and lets go of the pages' code before rendering them, and Vite's native bundler gets as many threads as doc-kit and returns the memory it frees. On the Node.js API docs, `--threads 1` now builds with Node.js's `--max-old-space-size=512`.

0 commit comments

Comments
 (0)