Skip to content

Commit

Permalink
Additional tip for limiting number of cpus (#480) (#481)
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <[email protected]>
Co-authored-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
ahcorde and azeey authored Jan 4, 2024
1 parent bdf138e commit 84d5d27
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.
If `colcon build` fails with [this issue](https://github.com/gazebosim/ros_gz/issues/401)
Expand Down

0 comments on commit 84d5d27

Please sign in to comment.