Thank you for your work on this project — it's been very helpful.
I'm using ros2 glim_rosnode to build a large-scale map. After a certain point, memory usage steadily increases until CPU memory reaches approximately 98%, after which the node crashes.
The following memory warnings repeatedly occur:
[glim_rosnode-1] [2025-05-30 14:57:35.294] [mem] [warning] CPU memory usage: 28979.05 / 31497.23 MB 92.01%
[glim_rosnode-1] [2025-05-30 14:57:40.294] [mem] [warning] CPU memory usage: 28938.97 / 31497.23 MB 91.88%
[glim_rosnode-1] [2025-05-30 14:57:50.295] [mem] [warning] CPU memory usage: 29336.95 / 31497.23 MB 93.14%
Eventually, it reaches >98% and the node crashes due to memory exhaustion.
Questions:
- Are there any parameters (e.g., cache size, voxel resolution, GPU memory use options) that can be adjusted to reduce memory usage or offload more to the GPU?
- Is there a recommended strategy for long-duration mapping with high memory efficiency?
- Is memory usage expected to grow indefinitely, or should it plateau during normal operation?
Any suggestions would be very helpful.
Thanks in advance!
Thank you for your work on this project — it's been very helpful.
I'm using ros2
glim_rosnodeto build a large-scale map. After a certain point, memory usage steadily increases until CPU memory reaches approximately 98%, after which the node crashes.The following memory warnings repeatedly occur:
Eventually, it reaches >98% and the node crashes due to memory exhaustion.
Questions:
Any suggestions would be very helpful.
Thanks in advance!