Skip to content
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

increasing memory usage of talker #302

Closed
dirk-thomas opened this issue Apr 1, 2019 · 2 comments · Fixed by ros2/rcl#418
Closed

increasing memory usage of talker #302

dirk-thomas opened this issue Apr 1, 2019 · 2 comments · Fixed by ros2/rcl#418
Assignees
Labels
bug Something isn't working

Comments

@dirk-thomas
Copy link
Member

dirk-thomas commented Apr 1, 2019

This can easily be reproduced with the demo_nodes_py talker.

To make the increasing memory usage more noticeable bump the publishing frequency to 50 Hz. Even with the actual publisher / publishing and message commented out the memory usage keeps increasing steadily.

The C++ equivalent doesn't seem to have the same problem.

@dirk-thomas dirk-thomas added the bug Something isn't working label Apr 1, 2019
@dirk-thomas dirk-thomas changed the title increasing memory usage talker increasing memory usage of talker Apr 1, 2019
@mjcarroll mjcarroll added the ready Work is about to start (Kanban column) label Apr 11, 2019
@tfoote
Copy link
Contributor

tfoote commented Apr 11, 2019

Possibly related, just looping on a timer callback also is reported to leak without even publishing: https://answers.ros.org/question/320851/ros2-serious-memory-leak-when-using-timer/

@dirk-thomas
Copy link
Member Author

It isn't just related but exactly what is being reported in this ticket.

@dirk-thomas dirk-thomas self-assigned this Apr 17, 2019
@dirk-thomas dirk-thomas added in progress Actively being worked on (Kanban column) and removed ready Work is about to start (Kanban column) labels Apr 17, 2019
@dirk-thomas dirk-thomas added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Apr 17, 2019
@dirk-thomas dirk-thomas removed the in review Waiting for review (Kanban column) label Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants