An error occurred while merging the maps
Hello,great job on this project!
An error occurred when I merged two maps. I have repaired broken map first, but still have problems when I find overlapping submaps. Thanks for the help.
The error may be caused by excessive GPU memory usage. I used 3060 6G laptop to build a map, but the map was too large. When the GPU memory usage reached 5.9G, an error occurred. How can I fix it?
The GPU RAM usage can be mitigated by changing the following params:
- Set
submap_target_num_pointsinconfig_sub_mapping_gpu.jsonto 10000 ~ 25000 (# points for each submap) - Set
min_implicit_loop_overlapinconfig_global_mapping_gpu.jsonto 0.3 ~ 0.4 (Reducing # factors in global optimization)
I'm also thinking of implementing some additional mechanisms to reduce the memory usage.
I'm adding a memory usage monitor to the viewer that would be useful to find memory consuming functions. https://github.com/koide3/glim/pull/226