colcon build freezes on autoware.universe pointcloud_preprocessor package #2597
-
While running I tested this more by downgrading the number of parallel workers, like so:
But this also freezes and crashes my machine. I then downgraded it even further to make it a sequential build; i.e. building only one package at a time, like so:
This lead me to identify that the build freezes and crashes on My system specifications are as follows:
|
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 6 replies
-
Autoware uses quite a lot of memory to build, could you try to increase the swap space if you have disk space available? Preferably on the SSD. If possible about 16 to 32GB of swap is recommended. A tutorial for that: https://linuxize.com/post/how-to-add-swap-space-on-ubuntu-20-04/ (you don't need to do Adjusting the Swappiness Value step) |
Beta Was this translation helpful? Give feedback.
-
Thanks @xmfcx your suggestion of increasing swap did fix the issue. |
Beta Was this translation helpful? Give feedback.
-
I had the same issue yesterday. |
Beta Was this translation helpful? Give feedback.
-
Parallelism of packages and parallelism within packages must be suppressed.
|
Beta Was this translation helpful? Give feedback.
Autoware uses quite a lot of memory to build, could you try to increase the swap space if you have disk space available? Preferably on the SSD. If possible about 16 to 32GB of swap is recommended.
A tutorial for that: https://linuxize.com/post/how-to-add-swap-space-on-ubuntu-20-04/ (you don't need to do Adjusting the Swappiness Value step)