Stream: git-wasmtime

Topic: wasmtime / Issue #2273 Restrict total Instance memory


view this post on Zulip Wasmtime GitHub notifications bot (Oct 06 2020 at 19:34):

mleonhard opened Issue #2273:

I wish to use wasmtime in a server to run small untrusted code blocks. I need to limit the maximum memory consumed by each running block to 5MB. I looked through the docs and found no way to restrict how much memory the VM can allocate. There seems to be a built-in limit of 4GB. See #1872 .

Let's support or document how to restrict total instance memory.


Last updated: Oct 23 2024 at 20:03 UTC