-
Notifications
You must be signed in to change notification settings - Fork 224
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
Fix memory leak. (backport #828) #840
Conversation
* Fix memory leak. Signed-off-by: Lei Liu <[email protected]> Co-authored-by: Chen Lihui <[email protected]> Co-authored-by: Abrar Rahman Protyasha <[email protected]> (cherry picked from commit ac13665)
CC: @aprotyas |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for backporting.
I think we are just waiting on the Galactic sync to go out, then we can merge this. Assigning to @cottsay to merge once Galactic sync is done. |
Hi, just checking if this can be merged? We have a ROS service that needs to run at a high Hz and the memory fills up pretty fast on the client process. I wanted to check if this fixes it |
After building from source with this PR merged, the memory leak still exists on Galactic. Its not present on a build from Master. Are there are any other PRs that need to be merged for this to work? |
do you mean that we still have the memory leak with using https://github.com/ros2/ros2/tree/galactic source build? |
@aditya2592 can you share a small example to check this? I recorded a simple client's memory usage with this demo against |
@aprotyas I am trying to recreate what I am seeing as an example, but basically the leak happens now when multiple clients are requesting the same service and the |
Do you mind sharing a simple example to reproduce? |
This is an automatic backport of pull request #828 done by Mergify.
Mergify commands and options
More conditions and actions can be found in the documentation.
You can also trigger Mergify actions by commenting on this pull request:
@Mergifyio refresh
will re-evaluate the rules@Mergifyio rebase
will rebase this PR on its base branch@Mergifyio update
will merge the base branch into this PR@Mergifyio backport <destination>
will backport this PR on<destination>
branchAdditionally, on Mergify dashboard you can:
Finally, you can contact us on https://mergify.io/