Repository navigation
|
After diverse issues trying to cross-compile my project, I decided to upload a minimal version of the source to AWS and build there. The build however always gets stuck on the There are no errors or warnings and I've waited for hours, tried again with a different instance etc. - it always gets stuck there. Building with --verbose shows this: Relevant dependencies: Cargo version: (happens also with stable) Ubuntu version: Storage: It builds without problems on my Mac. |
Replies: 5 comments 4 replies
|
How much RAM does the system it hangs on have? First thing that comes to mind for me is that if the system doesn't have a lot of memory, the compiler might be swapping a lot leading to an extremely long compile time. Our CI successfully compiles |
|
Aah that was it! It had just 1GB, upgraded to 2 and now it finishes. |
|
I'm hitting a similar issue, with the CPU is maxed out on both cores. It took about 15 minutes (out of a 16 minute build) before it progressed past the |
|
Hello! Reopening this discussion to make it searchable. |
|
Guys, I am trying to build it on my PC it has 16 GB of ram but still it's crashing |
How much RAM does the system it hangs on have? First thing that comes to mind for me is that if the system doesn't have a lot of memory, the compiler might be swapping a lot leading to an extremely long compile time. Our CI successfully compiles
aws-sdk-s3on Ubuntu 20.04, so not quite 22.04 but I can't imagine there would be too large of a difference there.