Skip to content

Raise Node heap for release builds (macOS OOM) - #5

Merged
mohnjiles merged 1 commit into
mainfrom
fix-release-macos-oom
Jul 25, 2026
Merged

Raise Node heap for release builds (macOS OOM)#5
mohnjiles merged 1 commit into
mainfrom
fix-release-macos-oom

Conversation

@mohnjiles

Copy link
Copy Markdown
Member

Summary

The v0.3.0 tag build failed on both macOS targets: vite build (the tauri-action beforeBuildCommand) was killed with "FATAL ERROR: Ineffective mark-compacts near heap limit — JavaScript heap out of memory". The macOS runners have the least memory (7GB on ARM), and the bundle now includes Monaco, which blows past Node's default old-space cap during the rollup pass. Linux succeeded; this sets NODE_OPTIONS: --max-old-space-size=4096 on the build step so all platforms build reliably.

After merging, I'll delete and re-push the v0.3.0 tag so the release rebuilds from a commit containing this fix.

Test plan

  • Re-tagged v0.3.0 builds green on all four platforms

🤖 Generated with Claude Code

vite build died with "JavaScript heap out of memory" on both macOS
runners (7GB RAM, default Node heap cap) now that the bundle includes
Monaco. Give the build step a 4GB old-space limit.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@mohnjiles
mohnjiles enabled auto-merge July 25, 2026 05:25
@mohnjiles
mohnjiles merged commit ea74472 into main Jul 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants