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

[Question] Is there a memory allocation limit within a WASM extension using Envoy (using V8 runtime)? #32

Open
pranav-bhatt opened this issue Sep 8, 2021 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@pranav-bhatt
Copy link
Contributor

According to https://v8.dev/blog/4gb-wasm-memory, the v8 engine (used by envoy to run WASM filters) implements wasm32, which has 4gb as the total usable memory.

This however doesn't necessarily mean that memory allocation has a limit of 4gb. Is there any cap on how much memory can be allocated apart from the aforementioned hard limit? Any clarification would be much appreciated!

@pranav-bhatt pranav-bhatt added the help wanted Extra attention is needed label Sep 8, 2021
@pranav-bhatt pranav-bhatt changed the title [Question] Is there a memory allocation within a WASM extension using Envoy (using V8 runtime)? [Question] Is there a memory allocation limit within a WASM extension using Envoy (using V8 runtime)? Sep 8, 2021
@b0id
Copy link

b0id commented Jan 2, 2023

I believe that 64bit support has been implemented, reference the following page to see that it "It provides no new instructions, but instead extends the currently existing instructions to allow 64-bit indexes."

https://github.com/WebAssembly/memory64/blob/main/proposals/memory64/Overview.md

@b0id
Copy link

b0id commented Jan 2, 2023

If this is satisfactory, I would like to close this issue.

@saurabh100ni saurabh100ni added issue/stale Issue has not had any activity for an extended period of time and removed issue/stale Issue has not had any activity for an extended period of time labels Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Development

No branches or pull requests

3 participants