You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Stateless mode with Streamable-HTTP leaks memory. The StreamableHTTPSessionManager stateless server task group never exits and the _task list grows with each request leading to always increasing memory usage.
Expected behavior
Stateless server exits after handling the request freeing up the resources
I've managed to workaround this by adding a timeout for stateless server, which works in my case, but maybe there would be better solution for that? Unfortunately, I'm not that good in python, so I'm not sure what the better approach could be.
Describe the bug
Stateless mode with Streamable-HTTP leaks memory. The
StreamableHTTPSessionManager
stateless server task group never exits and the_task
list grows with each request leading to always increasing memory usage.Expected behavior
Stateless server exits after handling the request freeing up the resources
Steps to reproduce
The text was updated successfully, but these errors were encountered: