Skip to main content

cap_memory

Function cap_memory 

Source
pub fn cap_memory<T>(store: &mut Store<T>)
Expand description

Every growth of the store’s linear memories and its GC heap (wasmtime grows the GC heap’s memory through the same limiter) past memory_cap_bytes fails the run with an error naming the cap