memory increase when robot is static

Posted by agodlin on
URL: http://official-rtab-map-forum.206.s1.nabble.com/memory-increase-when-robot-is-static-tp10863.html

hello i have noticed my memory increase when robot is static in localization mode
after some checking i see the member _constraints is increasing over time.

line is inside Rtabmap.cpp :  _constraints.insert(std::make_pair(tmp.from(), tmp));

i dont see constraints are getting removed ever when robot is static.

what could be the reason for this or this is a bug ?