RTAB-Map is a memory management approach for real-time appearance-based loop closure detection for autonomous robot (using a simple camera or webcam). The loop closure detection approach is fully incremental, starting with an empty memory. The robot builds his own representation of the environment by linking new acquired images with previous ones (e.g., detecting loop closures). The method implemented here can be considered as a Topological SLAM (Simultaneous Localization And Mapping) approach. Memory management makes it possible to process each new image under a fixed real-time limit, thus ideal for long-term operation.