The code in on_wasm_stack allocates as many stacks as requests come in. We need to implement a configurable upper bound for the number of stacks that can exist, since they are never destroyed and can end up consuming lots of memory if spikes in number of requests happen.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The code in on_wasm_stack allocates as many stacks as requests come in. We need to implement a configurable upper bound for the number of stacks that can exist, since they are never destroyed and can end up consuming lots of memory if spikes in number of requests happen.