mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7115] Exports do nothing: the server runs out of memory on large galleries, and iPhone downloads are dropped #3976
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#3976
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 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7115
Originally assigned to: @SpicyMarinara on GitHub.
On an iPhone, exporting a character or persona (for example Marinara native) closes the menu, but no file is saved and no share or save prompt appears. Seen with Marinara hosted in Docker and opened on iOS.
Expected: the file can be saved, for example through the iOS share sheet (Save to Files) as image saves already do.
Image saves already use the share sheet on iOS. Exports for characters, personas, presets, lorebooks, connections and settings use a plain link download after fetching the file. iOS WebKit can drop that silently, especially in a Home Screen web app or on a non-HTTPS address.
Reported by the maintainer.
@SpicyMarinara commented on GitHub (Oct 5, 2026):
Update: this happens on desktop too, and the main cause is on the server.
Marinara native export (
GET /api/characters/:id/export,buildNativeCharacterEnvelope) reads the avatar, every sprite and every gallery image as a base64 data URL withPromise.all, then serializes all of it as one JSON string. For a character or persona with a large gallery, the server runs out of memory and the process dies (health shows an unclean exit, Docker restarts it). The browser gets a 502, and the client shows no error, so "nothing happens".The fix needs to:
@SpicyMarinara commented on GitHub (Oct 5, 2026):
Fixed on staging by #7125, with translations in #7123.