Issues with building the RTAB-Map for ros2 humble

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issues with building the RTAB-Map for ros2 humble

minato_99
Hello matlabbe,

I am following https://github.com/introlab/rtabmap_ros link to install rtabmap (source) for for ros2 humble. My system is getting frozen whenever it starts building rtabmap_sync. I was wondering what could be the subtle solution.


Sincerely,
minato_99
Reply | Threaded
Open this post in threaded view
|

Re: Issues with building the RTAB-Map for ros2 humble

matlabbe
Administrator

You may run out of RAM. The trick is to build less files in parallel. Like the example on "Build from source" section here, set
export MAKEFLAGS="-j1"
This will create only one compilation process per package. You can also limit the number of packages built in parallel with:
colcon build --executor sequential
or
colcon build --parallel-workers 1