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

catkin build problem #60

Closed
wolf943134497 opened this issue Jan 1, 2020 · 4 comments
Closed

catkin build problem #60

wolf943134497 opened this issue Jan 1, 2020 · 4 comments

Comments

@wolf943134497
Copy link

wolf943134497 commented Jan 1, 2020

Hi @margaritaG Thanks for your great works!
I have a strange problem, when I run catkin build -j12, the package can not build success! The build process hang long time! the runtime is 7 hours 42 minutes and 50.9 seconds total. no error log In process.

17 of 24 packages succeeded.

any suggestion?
Thanks!

@margaritaG
Copy link
Collaborator

@wolf943134497 it could be that compilation of pcl_catkin (namely, its pcl_ros package) it running low on RAM, see here.

How many CPU cores does your machine have? Try limiting the number of parallel jobs via the -j flag to something that is way lower that your total number of cores.

@wolf943134497
Copy link
Author

@margaritaG Thank you for your feedback!
my machine have 16 cores. I try to use 4,6,8,12 parallel jobs,but the problem still can not be solved! I have the same problem when I use pcl_catkin in other project.

@margaritaG
Copy link
Collaborator

@wolf943134497 Did you try catkin build mask_rcnn_ros depth_segmentation gsm_node -j1 -l1?

@wolf943134497
Copy link
Author

@wolf943134497 Did you try catkin build mask_rcnn_ros depth_segmentation gsm_node -j1 -l1?

@margaritaG Thanks your suggestions! It works after trying -j1 - 11

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

No branches or pull requests

2 participants