From bdf138eeec5c2afb90a0ad667e1ccdeec1ecbab6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez=20Cordero?= Date: Wed, 3 Jan 2024 16:06:34 +0100 Subject: [PATCH] Add tip about non-parallel builds to README (#477) (#479) 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)