4 ms·
This is not correct, it is not necessary to specify a maximum memory size. See the WebAssembly specification https://webassembly.github.io/spec/core/syntax/modu
by daniellehmann 5y ago
This is not correct, it is not necessary to specify a maximum memory size.
See the WebAssembly specification https://webassembly.github.io/spec/core/syntax/modules.html#memories https://webassembly.github.io/spec/core/syntax/modules.html#.... Due to 32-bit address space, the maximum memory is limited to 4GB however.
(In asm.js, memory was provided by an ArrayBuffer of fixed size, so there memory could truly not grow at runtime.)