[ros-users] [Discourse.ros.org] [Next Generation ROS] Fast-RTPS Memory Usage - Please Help

P. J. Reed ros.discourse at gmail.com
Fri Apr 28 16:42:31 UTC 2017

The "virtual memory size" (VSZ) listed in ps isn't what you think it is.  That is the total size of the address space assigned to the executable, which includes code, data, memory-mapped files, shared libraries, swap usage, and pages that have been allocated but not actually used yet.  It's not uncommon for that to be very large; I've got a virtual machine running right now whose VSZ is about 46 GB...

You should actually pay attention to the resident set size (RSS), which is how much physical memory the task is actually using.  In your case, 10,320 kB seems more reasonable.

[Visit Topic](https://discourse.ros.org/t/fast-rtps-memory-usage-please-help/1739/7) or reply to this email to respond.

More information about the ros-users mailing list