Skip to content

fix(wasm): OOM on low-memory devices#29

Merged
unamedkr merged 1 commit intomainfrom
fix/wasm-oom
Apr 10, 2026
Merged

fix(wasm): OOM on low-memory devices#29
unamedkr merged 1 commit intomainfrom
fix/wasm-oom

Conversation

@unamedkr
Copy link
Copy Markdown
Collaborator

INITIAL_MEMORY=1GB causes immediate Aborted(OOM) on mobile/low-memory devices that can't allocate 1GB upfront. Revert to 256MB initial + ALLOW_MEMORY_GROWTH=1 (grows on demand up to 4GB).

🤖 Generated with Claude Code

INITIAL_MEMORY=1GB caused immediate OOM abort on mobile and
low-memory devices. Revert to 256MB initial with ALLOW_MEMORY_GROWTH=1.
The pthreads+growth warning is a minor perf note, not a crash.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@unamedkr unamedkr merged commit 5f06417 into main Apr 10, 2026
3 checks passed
@unamedkr unamedkr deleted the fix/wasm-oom branch April 10, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant