Skip to content

Commit

Permalink
Additional tip for limiting number of cpus
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
azeey authored Jan 3, 2024
1 parent 490f4d5 commit 99dc1a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ The following steps are for Linux and OSX.
```
> [!TIP]
> The `ros_gz` library makes heavy use of templates which causes compilers to consume a lot of memory. If your build fails with `c++: fatal error: Killed signal terminated program cc1plus`
> try building with `colcon build --parallel-workers=1 --executor sequential`.
> try building with `colcon build --parallel-workers=1 --executor sequential`. You might also have to set `export MAKEFLAGS="-j 1"` before running `colcon build` to limit
> the number of processors used to build a single package.
## ROSCon 2022
Expand Down

0 comments on commit 99dc1a0

Please sign in to comment.