-
Notifications
You must be signed in to change notification settings - Fork 84
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
WampCallee memory leak on InvocationData? #342
Comments
Can you try |
Thanks, have tied it locally. It seems Proxy interface:
This will still leak:
or
But this will not:
I am thinking if we could somehow create the |
After some try, I have got something like this on my fork branch. You can try run the |
@bigbearzhu thanks for working on this and for your contribution! Unfortunately, it seems like your solution breaks api (methods no longer return Thanks! |
Thanks @darkl and sorry for not replying for quite some time. I have checked the change, it seems it would harder to leak now with the This scenario is where inner invocation already passed calling DotMemory snapshot showing leak: On our local fork, we have implemented a fix a little bit different as we need a fix urgently for this issue. Feel free to see if it is ok to cherry pick. The main idea of the fix is to move the registration code into the |
Hi @bigbearzhu, I know it has been a long time. I attempted to resolve both of your issues in 23.3.1-develop-45. I would appreciate it if you could test it and tell me if the issues are gone, whenever you find the time. Thanks, |
Describe the bug
When a
WampCallee
is called, it stores oneInvocationData
in itsmInvocations
, but themInvocations
are only cleared when the callee is unregistered or interrupted, not when the invocation finishes.The text was updated successfully, but these errors were encountered: