micro-ROS-Agent: Repeated creation of publishers causes memory usage to grow

Issue template

  • Hardware description: RK3399 runing unbutu 20.04
  • RTOS: RK3399
  • Installation type: source code compilation
  • Version or commit hash: foxy

Steps to reproduce the issue

Just run the following line of statements in a loop to reproduce: ros2 topic pub --once <topic forwarded by agent> <msg-type> <msg-data>

Actual behavior

Using htop to continuously observe, the memory usage grows slowly

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 20 (9 by maintainers)

Most upvoted comments

After a period of testing, there is no memory leak. I think the problem has been solved, thanks for your help.