perlwasm / Alien-wasmtime

Find or download wasmtime for use by other Perl modules
2 stars 0 forks source link

Check that we can allocate a memory object. #9

Closed plicease closed 4 years ago

plicease commented 4 years ago

This will typically fail with a virtual memory limit on Linux because the Linux kernel ulimit -v limits virtual address size, including PROT_NONE pages that do not consume resources (at least, not the way Wasmtime is using them). Since such a configuration renders Wasm::Wasmtime unusable, we want to catch it here.

https://github.com/perlwasm/Wasm/issues/22