mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7785] Client build runs out of memory on the macOS runners #4296
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4296
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ylli-selmani on GitHub (Oct 18, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7785
Originally assigned to: @ylli-selmani on GitHub.
What happens
Native install/build (macos-15)and(macos-15-intel)in Platform Artifact Checks fail withJavaScript heap out of memoryduringpnpm build, in the client build's type-check. Ubuntu, Windows and the containers pass on the same commits.Seen on #7773 on every run since it merged
stagingat25080a3e2(runs 39089440573, 39090989470, 39092316527), including a rerun of only the failed jobs. Other branches on older staging still pass.Why
The client build runs
tsc -bbeforevite build, and a cold type-check of the client now uses about 2.1 GiB of heap (measured with--extendedDiagnostics: 2,142,346K on #7773's branch, 2,151,906K on a branch that passed). Node's default heap scales with the machine's memory: about 4 GiB on a 16 GiB machine, but about 2 GiB on the 7 GiB macOS runners. The crash log shows it stopping at 2041.9 MB.packages/client/scripts/build.mjsonly raises the heap for Android and low-memory builds, so the desktop build has been sitting just under the macOS runners' limit and now goes over it as the client grows. Any branch that merges currentstagingwill start hitting this.Expected
The desktop client build gets enough heap for its type-check where Node's default is lower, without lowering a larger default or overriding a heap the user sets.