Closed benthie closed 1 year ago
The default caching time for a ROS2 action server is 15 minutes. Since the image_stream
script requests data with the include_results_in_response
flag, each action result contains a camera image. And the server does cache all those results, hence the memory accumulation of the ensenso_camera_node
.
@erblinium I will create a PR and you can expect the patch to be release in the next days.
Is related to https://github.com/ros2/rclcpp/issues/2101
When running
ensenso_camera_node
and theimage_stream
script the camera node's memory usage increases over time. This does not happen with e.g. therequest_data
script, which in comparison to theimage_stream
script does not include the data in the action response and does not publish any data.