Skip to content

WebAssembly is out of memory with multiple modules on one page #3162

Answered by craigsapp
WolfgangDrescher asked this question in Q&A
Discussion options

You must be logged in to vote

Each instance has a fixed (or at least minimum) size of 250 MB. So 25 instances would be 6.25 GB, which is why you are running out of memory. If the 25 segments are short, then you should definitely use the method that @ahankinson mentions: one instance that produces 25 segments.

Replies: 4 comments 13 replies

Comment options

You must be logged in to vote
3 replies
@WolfgangDrescher
Comment options

@ahankinson
Comment options

@WolfgangDrescher
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by lpugin
Comment options

You must be logged in to vote
8 replies
@WolfgangDrescher
Comment options

@ahankinson
Comment options

@WolfgangDrescher
Comment options

@WolfgangDrescher
Comment options

@ahankinson
Comment options

Comment options

You must be logged in to vote
2 replies
@lpugin
Comment options

@lpugin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #3161 on December 12, 2022 12:41.