-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help requested - Another Memory leak #18
Comments
I can remember fighting memory leaks myself. I'm not very sure if that was xmpppy, but it's very likely. The solution Also, I believe, another solution happened to be to migrate to newer
|
Actually cleaning the _expected dict seems to do the trick. if type(session._expected[ID])==type(()):
cb,args=session._expected[ID]
del session._expected[ID] Not sure why only the cb case the _expected dict was not cleared but it seems to fix the memory ballooning issue. |
I spotted another potential memory leak here:
dispatcher.py:
Actually and contrary to SendAndWaitForResponse, the self._expected dict remains wired to all stanza/cb receveid as you ca see here:
We clearly see that self._expected contains all ID and what ever they are linked too.
I try to figure out how to fix this, I'm asking for help about that.
Thanks
The text was updated successfully, but these errors were encountered: