From 843a2e2af11a5d7d648f9439cee8d76bc802450f Mon Sep 17 00:00:00 2001 From: Kelvin Amoaba <97001695+AmoabaKelvin@users.noreply.github.com> Date: Mon, 2 Nov 2026 02:31:28 +0000 Subject: [PATCH] ci(mobile): give Metro a 4 GB heap in the iOS release archive (#37271) --- .github/workflows/mobile-ios-release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/mobile-ios-release.yml b/.github/workflows/mobile-ios-release.yml index b4ce73b00ab..3bbbf3ca68f 100644 --- a/.github/workflows/mobile-ios-release.yml +++ b/.github/workflows/mobile-ios-release.yml @@ -133,6 +133,8 @@ jobs: # Keep fastlane non-interactive and quiet about analytics in CI. FASTLANE_SKIP_UPDATE_CHECK: '1' FASTLANE_HIDE_CHANGELOG: '1' + # Metro's release transform of the 3.6 MB Mermaid module needs >2 GB heap; the runner's default cap sits at that edge. + NODE_OPTIONS: --max-old-space-size=4096 run: bundle exec fastlane ios build_and_upload - name: Upload .ipa artifact