wasm-filters
wasm-filters copied to clipboard
[Question] Is there a memory allocation limit within a WASM extension using Envoy (using V8 runtime)?
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!
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
If this is satisfactory, I would like to close this issue.