Gazebo | Ignition | Community
Ask Your Question

Gazebo build for ros2 foxy stuck at 66% [closed]

asked 2021-11-08 04:12:50 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

gazebo_plugins:build 66% -2min 32.6s

gets stuck there , pc crashes basically , timers stop moving

all steps followed from that , problem happens at colcon build part with no prior errors, cant add a screenshot as it just crashes


edit retag flag offensive reopen merge delete

Closed for the following reason not a real question by Jose Luis Rivero
close date 2021-11-10 07:57:20.599757

1 Answer

Sort by ยป oldest newest most voted

answered 2021-11-08 16:22:11 -0600

Jose Luis Rivero gravatar image

colcon (build tool) can be aggressive in its number of parallel workers and parallel compilation threads specially if the machine is not very powerful. Let's try to reduce the number of parallel compilation threads:

MAKE_JOBS=1 colcon build --parallel-workers 1

You can increase the 1's in that command to gain some speed but will increase the amount of memory used.

edit flag offensive delete link more


Sadly that didnt work either , that link is what it looks like , now stuck at 64% instead of 66

yagizzha gravatar imageyagizzha ( 2021-11-09 01:17:01 -0600 )edit

Could you please attach the output of MAKE_JOBS=1 colcon build --event-handlers console_direct+ --parallel-workers 1?

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2021-11-09 04:22:45 -0600 )edit

found another fix and trying to reinstall might cause problems again so i wont be able to test this , thanks for the help tho

deleting everything ros/gz related then redownloading did the trick

yagizzha gravatar imageyagizzha ( 2021-11-10 01:15:55 -0600 )edit

Question Tools

1 follower


Asked: 2021-11-08 04:12:50 -0600

Seen: 436 times

Last updated: Nov 08 '21