-
Notifications
You must be signed in to change notification settings - Fork 36
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
Not able to build Moveit2 docker image #157
Comments
I'll see if I can replicate when we do our release validation builds. @mkhansenbot, might this be related to #142? |
@MinahilRaza it looks like the actual failure in As @Bckempa said, we're currently doing our release build validations and will see if we run into any problems on our end. |
Hi I also faced the same issue during my image build. But I got the error not for only The method which worked for me was we have to increase the ram limit in the docker. These are the steps to do the same -
Also in the Dockerfile inside the Moveit2 folder, I had to replace the lines from - to these lines as - i.e., add the line to Then it worked perfectly, although it takes time to build. |
@eholum @Bckempa During build validation could we check if the build is working for systems having less RAM. I checked my RAM usage during the build while this line was running from the Dockerfile - and I noticed that even if I set the RAM limit of Docker to be 15.5 GB (I have a total of 16 GB RAM) it was not able to build the image (Even whole of the RAM was being used only for the build process). Also, could I make a pull request with the solution that I proposed in the above thread ? |
I am not in favour or reducing parallelism of the build. it would be taking much longer for people with more powerful machines and CI... I am using an x86 laptop with 15GB and 16 cores and these docker builds do not fail for me. could it be that you have higher number of CPUs for less RAM? or could this be related to swapfile sizing? |
I think #142 was about nav2 docker. this one is about moveit2 |
OOM-ing during build is a known issue with Moveit2, this might be more appropriate discussion on the upstream project directly. Until then I've been using ZRAM to build consistently on my machines |
Cannot emphasize the utility of ZRAM enough.
I agree! One other work around I tend to use is just to drastically increase the size of my swapfile. |
Hi, you are right. I tried building images by increasing swap file size (also the swap file limit in Docker) and it worked perfectly with no errors. |
Increasing the swap file size solved this issue for me. It worked perfectly without errors |
I have been trying to run demos on my machine. The spaceros image builds successfully but I get the following error for the moveit2 one
![image](https://private-user-images.githubusercontent.com/30044227/353814573-9ca1c0f4-b86b-43a7-9d1a-ee24f3caeb8e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNzA5MDQsIm5iZiI6MTczOTM3MDYwNCwicGF0aCI6Ii8zMDA0NDIyNy8zNTM4MTQ1NzMtOWNhMWMwZjQtYjg2Yi00M2E3LTlkMWEtZWUyNGYzY2FlYjhlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDE0MzAwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNhZjc0MmFkY2IzMzU1YWVjNGQxNzUyMjdkOGJlYWNiZWYzMjlmMzA4M2JkNjY2YWYzY2Q5ZmZjNzY2MDM0OWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.JjU-Uce9tcxjfKPzkRB9ioZ6RcVs4GB6clSCXYWM8S8)
The text was updated successfully, but these errors were encountered: