Repository navigation
perf(docs): run nuxi dev and build with a 3 GB heap - #471
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
✅ No new issues found.
Approach: Sound — lowering the existing command-scoped V8 old-space limits keeps the change confined to Nuxt without treating 3 GiB as a cap on total process memory.
Reviewed changes in docs/package.json and traced docs:generate through CI. No P0 or P1 findings.
- Development:
nuxi devnow uses a 3072 MiB old-space limit instead of 6144 MiB, with the preparation steps and port unchanged. - Generation:
nuxi buildnow uses the same limit instead of 7168 MiB, with the post-build link check unchanged.
I verified that Node 24 honors the flag. I did not rerun Nuxt; the PR reports successful generation and a dev smoke test at the new limit, and the CI build was still running at review time.
gpt-6.2-sol(high) | 𝕏
comark-annotate
comark-badge
comark-bundle
comark-cards
comark-carousel
comark-cast
comark-charts
comark-chat
comark-chips
comark-cjk
comark-code
comark-code-notes
comark-colors
comark-comments
comark-critic
comark-deflist
comark-details
comark-diagrams
comark-diff
comark-embed
comark-fields
comark-figure
comark-file-tree
comark-footnotes
comark-git-graph
comark-github
comark-icon
comark-include
comark-keys
comark-links
comark-linter
comark-magic-move
comark-mark
markdown-it-to-comark
marked-to-comark
comark-mathml
comark-media
comark-metrics
migrate-to-comark
comark-outline
comark-properties
comark-qr
comark-quiz
comark-reading-time
remark-to-comark
comark-sources
comark-steps
comark-table
comark-tabs
comark-tests
comark-time
comark-ui
comark-xref
comark-zoom
commit: |
Latest result Pull request merged. Final answersSession Pull request merged. |

The docs scripts asked Node for a 6 GB heap in
nuxi devand 7 GB innuxi build. The site no longer needs that, so on a shared machine the flags only let a run hold more memory than it uses. Both now ask for 3 GB.On
mainwith a 3 GB heap:pnpm --dir docs run generatenuxi build(an earlier run)nuxi dev(an earlier run)/play, the Comments route and/_vitehub/rpcwith no out-of-memory errorRSS is above the heap limit because it counts native memory too (Rolldown, Shiki's WebAssembly, buffers). The V8 heap itself stays under 3 GB.
Node 24.21.0, Linux.