Skip to content

When assertions are on, show a warning when we try to grow memory above the practical limit - #6568

Merged
kripken merged 1 commit into
incomingfrom
2gb
May 29, 2018
Merged

kripken merged 1 commit into
incomingfrom
2gb

Conversation

@kripken

@kripken kripken commented May 22, 2018

Copy link
Copy Markdown
Member

The practical limit is 2GB and most (all?) browsers don't allow allocating more now, so emscripten doesn't ask for more, and instead increments memory in small chunks towards that limit (hoping it will be enough). This adds a warning when we reach the limit there, to make this less surprising to users.

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