alexcrichton opened PR #6149 from alexcrichton:trap-on-grow-failure
to bytecodealliance:main
:
This commit adds new options to the
wasmtime
CLI to control theStore::limiter
behavior at runtime. This enables artificially restriction the memory usage of the wasm instance, for example. Additionally a new option is added toStoreLimits
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.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
alexcrichton requested pchickey for a review on PR #6149.
alexcrichton requested wasmtime-core-reviewers for a review on PR #6149.
pchickey submitted PR review.
alexcrichton updated PR #6149.
alexcrichton has enabled auto merge for PR #6149.
alexcrichton merged PR #6149.
Last updated: Dec 23 2024 at 12:05 UTC