-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
How to increase the memory size of the interpreter in wasm-bindgen-wasm-interpreter? #3653
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
This seems like a rather big increase to me, more then two orders of magnitude. Cc #3162. |
Let me have a fork, increase the capacity and test it in my program. |
I have a similar issue when linking emscripten's libc (compiled to wasm32-unknown-unknown). Here's a minimal reproduction repo (just run (in fact, I hit #3315 unless I can go ignoring several files and the issue just moves around; it seems to have to do with files that depend on
|
Actually, simply increase the capacity won't work, as some other errors will show up. |
In light of this I will close this issue. |
Summary
I've run out of the memory (the field
mem
in Interpreter) when generating interface with wasm-bindgen (called from wasm-pack) for my project. Maybe my project is too big?Will it be okay to simply extend the memory size when storing to a place that is not in the vector?
Additional Details
The program panicked at wasm-bindgen-wasm-interpreter-0.2.87/src/lib.rs:311:32:
index out of bounds: the len is 1024 but the index is 375022
Run with
wasm-pack build
.The text was updated successfully, but these errors were encountered: