Stream: git-wasmtime

Topic: wasmtime / PR #6149 Add a limits and trap-on-OOM options ...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 05 2023 at 15:12):

alexcrichton opened PR #6149 from alexcrichton:trap-on-grow-failure to bytecodealliance:main:

This commit adds new options to the wasmtime CLI to control the Store::limiter behavior at runtime. This enables artificially restriction the memory usage of the wasm instance, for example. Additionally a new option is added to StoreLimits to force a trap on growth failure. This is intended to help quickly debug modules with backtraces if OOM is happening, or even diagnosing if OOM is happening in the first place.

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Apr 05 2023 at 15:12):

alexcrichton requested pchickey for a review on PR #6149.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 05 2023 at 15:12):

alexcrichton requested wasmtime-core-reviewers for a review on PR #6149.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 05 2023 at 15:59):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 05 2023 at 17:08):

alexcrichton updated PR #6149.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 05 2023 at 17:08):

alexcrichton has enabled auto merge for PR #6149.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 05 2023 at 18:02):

alexcrichton merged PR #6149.


Last updated: Dec 23 2024 at 12:05 UTC