Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't limit parallel workers in moveit2 build (#77) #95

Merged
merged 1 commit into from
Dec 28, 2023

Conversation

EzraBrooks
Copy link
Member

@EzraBrooks EzraBrooks commented Dec 28, 2023

Closes #77.

This is a common hack to avoid running out of memory while building a large C++ codebase. However, it's unnecessary in an era where users just need to be educated to configure zram on their system.

@EzraBrooks EzraBrooks marked this pull request as ready for review December 28, 2023 20:04
@EzraBrooks
Copy link
Member Author

moveit2 build on this PR took 1.5hr instead of 3!

This is a common hack to avoid running out of memory while building a large C++ codebase. However, it's unnecessary in an era where users just need to be educated to configure `zram` on their system.
Copy link
Contributor

@Bckempa Bckempa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check the whole org and this is the only instance of colcon executor arguments.

@EzraBrooks EzraBrooks merged commit 76cd412 into main Dec 28, 2023
3 checks passed
@EzraBrooks EzraBrooks deleted the don't-limit-parallel-workers branch December 28, 2023 21:49
@Bckempa
Copy link
Contributor

Bckempa commented Dec 28, 2023

We don't have a good sense of how long GHA will take since it's just using the cached version. Should we check that (and make sure it doesn't time-out or OOM) before merging?

@Bckempa Bckempa added this to the humble-2024.01.0 milestone Dec 28, 2023
@EzraBrooks
Copy link
Member Author

see https://github.com/space-ros/docker/actions/runs/7350258510/job/20011595426 for the job where it passed in 1.5 hr, half the previous runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Moveit2 build takes over 2.5 hours in GHA workflow
2 participants