Official RTAB-Map Forum
Re: deleting a map does not release the corresponding memory from RAM.
Posted by
matlabbe
on
URL:
http://official-rtab-map-forum.206.s1.nabble.com/deleting-a-map-does-not-release-the-corresponding-memory-from-RAM-tp9102p9111.html
Hi,
did you look at the load_database service? Here is the code to cleanup everything:
https://github.com/introlab/rtabmap_ros/blob/1e28de0b38d20410d47fb9fb5d4c8d96f1590c5d/src/CoreWrapper.cpp#L2930
In particular, mapsManager_.clear() should be called, as it can hold a lot of memory.
cheers,
Mathieu
Free forum by Nabble
Edit this page