-
Notifications
You must be signed in to change notification settings - Fork 472
String.create error in interpreter #156
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
Comments
Investigating this, it looks like the interpreter has a limit of around 16MB on input size, any larger and that error is hit. There is nothing special in the content, it's just a size issue. I know nothing about ocaml (I spent some time today trying to get a printf for debugging in the interpreter, unsuccessfully ;) ), is there a fixed string size limit there or something like that? |
There is indeed a 16mb limit for string in 32bit. Try with a 64 bit ocaml compiler. |
I see, thanks. I'm on 32-bit atm so I guess I'm stuck. |
A solution would be not to load the all file as a string - by using |
I believe this was fixed by #197. Please reopen if you keep seeing the problem. |
* [test] Use unified assert_result* assertion to replace assert_return_arithmetic_nan and assert_return_canonical_nan Tests are pulled from WAVM/WAVM#240 * Correct property name
It looks people have generally agreed on removing `unwind` in the MVP spec, as it overlaps with `catch_all` in functionality. Closes WebAssembly#153.
Add a smoke test for consistent nondeterminism
I tried to parse the Poppler PDF library compiled to
.wast
in the interpreter. It's 39MB, and the interpreter errors onI'm not that familiar with ocaml, so I'm not sure what to do to investigate this further.
I can attach the file if that's useful (too big for github though, I think).
The text was updated successfully, but these errors were encountered: