mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4936] [Issue]: FATAL ERROR: JavaScript heap out of memory #2737
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#2737
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 @JustLukelay on GitHub (Aug 12, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4936
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Crash on Termux when navigating panels or sending messages. Did not happen on older versions.
Expected behavior
Not crashing.
Actual behavior
Well it crashes.
Steps to reproduce
Environment
Logs, screenshots, or video
~/Marinara-Engine $ ./start-termux.sh
╔══════════════════════════════════════════╗
║ Marinara Engine — Termux Launcher ║
╚══════════════════════════════════════════╝
[OK] Node.js v24.17.0 found
[..] Aligning pnpm to 10.34.5 via Corepack...
[OK] pnpm 10.34.5 ready
[..] Checking for updates...
[OK] Already up to date
[..] Installing dependencies...
This may take several minutes on mobile.
[..] Reclaiming dependency cache space from older releases...
Scope: all 4 workspace projects
Lockfile is up to date, resolution step is skipped
Already up to date
. preinstall$ node ./scripts/clean-stale-client-artif…
└─ Done in 217ms
. postinstall$ node ./scripts/ensure-native-deps.mjs
│ [native-deps] Skipping onnxruntime-node check for u…
└─ Done in 206ms
Done in 2.1s using pnpm v10.34.5
══════════════════════════════════════════
Starting Marinara Engine on http://0.0.0.0:7860
Local browser URL: http://127.0.0.1:7860
LAN access: http://10.0.0.54:7860
══════════════════════════════════════════
<--- Last few GCs --->
[30084:0xb40000768f948000] 3807396 ms: Mark-Compact 877.3 (951.0) -> 871.1 (941.4) MB, pooled: 46 MB, 25.41 / 0.01 ms (+ 0.0 ms in 1 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 564 ms) (average mu = 1.000, current [30084:0xb40000768f948000] 3815799 ms: Mark-Compact (reduce) 1238.8 (1303.6) -> 1022.3 (1026.9) MB, pooled: 0 MB, 183.31 / 88.42 ms (+ 9.5 ms in 166 steps since start of marking, biggest step 1.6 ms, walltime since start of marking 295 ms) (average mu =
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
Aborted ./start-termux.sh
Additional context
=3c
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 (Aug 12, 2026):
Closing as a duplicate of #4730, fixed on
stagingby #4736. The Termux launcher now applies a 2 GiB default Node heap only whenNODE_OPTIONSdoes not already contain an explicit heap limit, so operator-provided limits remain authoritative. Marinara Engine v2.4.1 predates that staging fix.