Hi,
I'm fairly new to wasmtime (I used wasmer until recently). I noticed in my code that when I use the "pooling" Instance allocation strategy, I get an error of the following form; " wasmtime::store: ignoring memory growth failure error: Memory maximum size exceeded". Everything works fine without the pooling strategy.
The code I execute allocates 10Mb, so it really should not hit the memory limit yet. Any idea what the cause could be?
Memory is limited by default for the pooling allocator, so you're likely running into the default configuration of PoolingAllocationConfig::memory_pages
. If you increase that does it work for you?
Thank you! That fixed it.
Last updated: Dec 23 2024 at 12:05 UTC