-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Bug report
Required Info:
- Operating System:
- Ubuntu 24.02
- Computer:
- AMD box
- ROS2 Version:
- Kilted
- Version or commit hash:
- DDS implementation:
- CycloneDDS
Steps to reproduce issue
Calling isPoseOccupied in a tree xml config(https://github.com/ros-navigation/navigation2/blob/main/nav2_behavior_tree/plugins/condition/is_pose_occupied_condition.cpp)
Expected behavior
Memory consumption should not increase
Actual behavior
Memory consumption increase overtime
Reproduction instructions
Additional information
The background of this behavior is that I am trying to get a cost at a goal pose to check if it is occupied, if it is, I will stop/pause the robot until the obstacle move away. So the plugin is called in a time manner.(1hz)
With 1Hz the memory grow slowly and if I increase to 10 or 100Hz, this will take a lot of memory after a short time.
Below is the heap consumption trace

Metadata
Metadata
Assignees
Labels
No labels