Closed stringhandler closed 4 years ago
Removed the debug build from Circle CI. The debug build required more RAM than was available on the instance. At a later stage migrating to another CI tool can be investigated, but currently building only in release mode is sufficient
Thanks for the post. Also coming from CircleCI - the insufficient RAM idea was useful. However, using --release
didn't help my case, only changing the resource_class from large
to xlarge
helped. Thankfully my company is already paying the CircleCI Performance plan which includes the xlarge class (n.b. it's likely more credit-consuming). Here's the modified .circleci/config.yml
:
jobs:
build-and-test:
docker:
- image: cimg/rust:1.69.0
resource_class: xlarge # <== THIS
steps:
...
Interesting, thanks!
Describe the bug The following message appears on Circle CI for debug builds. I think it is related to not having enough RAM on the instance to do the linking. The
release
build works fine at the moment, presumably because it doesn't need to link debug information.To Reproduce Steps to reproduce the behavior: