Stream: git-wasmtime

Topic: wasmtime / issue #2751 resource limit exceeded: instance ...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 30 2021 at 08:39):

bxq2011hust closed issue #2751:

I use one module to wasm_instance_new(C-API) instance to execute the function to save the cost of wasm_module_new, at start it works well, After some time running, I can't use wasm_instance_new to create new instance and got the error message resource limit exceeded: instance count too high at 10001.
I freed the instance use wasm_instance_delete every time execution is done, also free the exports, I think the count of instance should decrease to zero after execution, It seems the count of instance is cumulative. Is there some way to use one module to create instances more than 10000 times?


Last updated: Nov 22 2024 at 16:03 UTC