Check if estimated memory is available given the current WASM memory limit.
Compares the estimated byte requirement against the configured maximum. Always returns true if no limit is set (max == 0).
true
estimated_bytes
true if there is enough memory, false if the estimate exceeds the limit.
false
Check if estimated memory is available given the current WASM memory limit.
Compares the estimated byte requirement against the configured maximum. Always returns
trueif no limit is set (max == 0).Arguments
estimated_bytes— Estimated memory needed for an operation.Returns
trueif there is enough memory,falseif the estimate exceeds the limit.