Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OOM errors #903

Closed
jfbastien opened this issue Dec 13, 2016 · 5 comments
Closed

OOM errors #903

jfbastien opened this issue Dec 13, 2016 · 5 comments
Milestone

Comments

@jfbastien
Copy link
Member

Forking from #901 (comment)

Should we call out out-of-memory errors separately, or do they cause Compile / Link errors? This seems similar to @gahaas' clarification w.r.t. stack error in #875.

@flagxor
Copy link
Member

flagxor commented Dec 13, 2016

We should do:
GrowMemory stays as is.
Everything else is up to the embedder, see Andreas' other verbiage.

@jfbastien
Copy link
Member Author

As a clarification: I think OOM on WebAssembly.validate should be an OOM exception, not a validation failure: we may never be able to compile the module, but it's not fundamentally invalid. Pretty much the only valid usage of validate is to do feature detection, it would be odd to "lie" on OOM.

Again, this is a corner-case.

@titzer
Copy link

titzer commented Dec 19, 2016 via email

@lukewagner
Copy link
Member

Agreed; that also matches what we've done.

@sunfishcode sunfishcode added this to the MVP milestone Jan 31, 2017
jfbastien added a commit that referenced this issue May 11, 2017
Addresses #903.
@jfbastien jfbastien mentioned this issue May 11, 2017
jfbastien added a commit that referenced this issue Jul 13, 2017
Addresses #903.
@sunfishcode
Copy link
Member

This was fixed in #1059.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants