mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8126] [Issue]: Client build fails with JavaScript heap out of memory #7572
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#7572
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 @SpicyMarinara on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8126
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Repeated installation attempts fail while building the client. Node runs out of JavaScript heap memory at around 1.95 GB, and pnpm exits with status 134.
Expected behavior
The installation and client build should complete successfully.
Actual behavior
The client build fails with
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory, followed byERR_PNPM_RECURSIVE_RUN_FIRST_FAILand exit status 134.Steps to reproduce
@marinara-engine/client@2.5.1build runsnode ./scripts/build.mjsand fails with the reported heap out-of-memory error.Environment
Logs, screenshots, or video
Log excerpt shows V8 Mark-Compact at approximately 1.95 GB followed by
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory. The failing package isC:\Users\fishl\AppData\Local\MarinaraEngine\packages\client; pnpm reportsERR_PNPM_RECURSIVE_RUN_FIRST_FAILand exit status 134.Additional context
The user reports encountering the error across multiple installation attempts. The available log confirms a Node.js heap-limit failure during the client build but does not establish its underlying cause or indicate that physical RAM is insufficient. Windows version, system specifications, Node and pnpm versions, installation method, and full logs were not provided.
Discord thread: Exit Status 134 \ ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL
Discord thread link: https://discord.com/channels/1417099416812392641/1562947901498335332
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (5 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Oct 23, 2026):
I checked current staging (
957cb117bae645e029dbeb00157b4df248053ece) against this report. The desktop build already detects a small default heap and raises only the build children to up to 3072 MiB when the machine/container memory budget permits (merged in #7786). An explicitNODE_OPTIONSheap is intentionally preserved; #7838 added the diagnostic explaining a too-small override. The existing real build-wrapper regression passes, including 2 GiB desktop defaults, explicit absolute/percentage overrides and container limits.The supplied excerpt proves a heap exhaustion, but does not identify whether this is the TypeScript step, a later bundler step, a retained explicit override, or a machine whose memory budget prevents the automatic increase. I am leaving this report open rather than applying an unverified heap increase.
For the affected Windows install, please provide the full output from the start of installation (especially any
[build] Client build heap limit:line), the installer/release used, Windows version, CPU/RAM, available RAM during the attempt,node -v,pnpm -v, and the value ofNODE_OPTIONSif set. These can be collected in a terminal; the app does not need to launch. Please redact credentials or private paths from the full log.The existing recovery advice is in Troubleshooting: desktop heap errors. Do not delete the profile or chats to repair a build failure.