filecoin-project / filecoin-project/ref-fvm
Reconsider Wasmtime's allocation strategy "max table elements" config option
Open
Topic: Gas and limits
Topic: User Wasm
- Dominant language
- Rust
- Stars
- 422
- Forks
- 154
- PR merge metrics
- PR metrics pending
Description
We currently use the default of 20k but it sounds like that reserves enough memory for 20k elements up-front even if they aren't used, which is something we should charge for in our memory accounting logic. We currently charge for table use _as they're used_.
Contributor guide
Assessment
This issue has not been assessed yet.