Skip to content

fix: prevent Vercel OOM by limiting turbo concurrency and increasing Node heap#974

Closed
Copilot wants to merge 2 commits intomainfrom
copilot/fix-vercel-build-memory-issue
Closed

fix: prevent Vercel OOM by limiting turbo concurrency and increasing Node heap#974
Copilot wants to merge 2 commits intomainfrom
copilot/fix-vercel-build-memory-issue

Conversation

Copy link
Contributor

Copilot AI commented Mar 2, 2026

Vercel builds for the console app OOM because turbo parallelizes builds across all 37 workspace packages simultaneously.

  • Added NODE_OPTIONS=--max-old-space-size=4096 to both turbo and Vite build steps
  • Added --concurrency=2 to turbo to cap parallel package builds

If this still hits limits, enable Enhanced Builds in Vercel dashboard (Settings → General → Build & Development Settings).

Original prompt

fix vercel Your build failed because it exceeded the amount of memory available. Enable Enhanced Builds to increase machine size and available memory.


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

@vercel
Copy link

vercel bot commented Mar 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
objectui Canceled Canceled Mar 2, 2026 1:23pm
objectui-demo Ready Ready Preview, Comment Mar 2, 2026 1:23pm
objectui-storybook Ready Ready Preview, Comment Mar 2, 2026 1:23pm

Request Review

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
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