Skip to content

Raise initial memory default#552

Merged
georgestagg merged 1 commit intor-wasm:mainfrom
jeroen:patch-2
Jun 26, 2025
Merged

Raise initial memory default#552
georgestagg merged 1 commit intor-wasm:mainfrom
jeroen:patch-2

Conversation

@jeroen
Copy link
Contributor

@jeroen jeroen commented Jun 26, 2025

This fixes a linker error that you may get when you add some extra packages to the base bundle:

wasm-ld: error: initial memory too small, 16896660 bytes needed

The default seems to be 16MB.

@georgestagg
Copy link
Member

LGTM, thanks!

@georgestagg georgestagg merged commit f8cc023 into r-wasm:main Jun 26, 2025
4 checks passed
@jeroen jeroen deleted the patch-2 branch June 26, 2025 23:46
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.

2 participants