Currently the automatic environment setup scripts can overload systems with small amounts of memory and cpu cores. To make the compilation more stable for lower specification vms and systems. Sequentially building all the dependencies might be necessary. This can be done by using the colcon listcommand to get all the packages in a workspace and then sequentially build each package using a bash script to iterate through the packages and perform colcon build <package_name>. The best command would be colcon list -t -n to get names in topological order.
Currently the automatic environment setup scripts can overload systems with small amounts of memory and cpu cores. To make the compilation more stable for lower specification vms and systems. Sequentially building all the dependencies might be necessary. This can be done by using the
colcon list
command to get all the packages in a workspace and then sequentially build each package using a bash script to iterate through the packages and performcolcon build <package_name>
. The best command would becolcon list -t -n
to get names in topological order.Another option is the sequential executor.