Damn Vulnerable Drone is an intentionally vulnerable drone hacking simulator based on the popular ArduPilot/MAVLink architecture, providing a realistic environment for hands-on drone hacking.
Without limiting the nofile soft/hard limit, ROS nodes will consume abnormal amount of memory.
On a system with ulimit -Hn of 1073741816, that's 4 GB per node.
By limiting the max number of opened file descriptors to 1024:524288, ROS nodes will consume 2 MB instead.
Issue is described on stackexchange: https://robotics.stackexchange.com/questions/93752/rosout-high-memory-usage
Without limiting the nofile soft/hard limit, ROS nodes will consume abnormal amount of memory. On a system with
ulimit -Hn
of1073741816
, that's 4 GB per node.By limiting the max number of opened file descriptors to 1024:524288, ROS nodes will consume 2 MB instead.