From c40faa96d078bde6faea3d0242a91fdf8ff22536 Mon Sep 17 00:00:00 2001 From: "Addisu Z. Taddese" Date: Wed, 3 Jan 2024 04:00:31 -0600 Subject: [PATCH] Add tip about non-parallel builds to README (#477) Signed-off-by: Addisu Z. Taddese --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 67569364..0d969016 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,9 @@ The following steps are for Linux and OSX. cd ~/ws colcon build ``` + > [!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`. If `colcon build` fails with [this issue](https://github.com/gazebosim/ros_gz/issues/401)