Crate build failure - out of memory
Closed this issue · 3 comments
Crate name
helios_fhir
Build failure link
https://docs.rs/crate/helios-fhir/0.1.21/builds/2589513
Additional details
I recently added a lot of documentation to this crate, and it appears to be failing with an out of memory condition.
Yep, SIGKILL sounds like memory limit.
Can you run your build locally and tell me how much memory is needed at the peak?
Here is a test on a 20 GB self-hosted runner running cargo doc --all-features
It looks to be consuming just under 10 GB of RAM.
I'm seeing this issue on the following crates:
I've set the limit for all 4 crates to 12 GB.
Keep in mind: this is the absolute maximum of what we can provide at the moment in the old build infrastructure. So if your usage goes much higher you need to optimize on your side.
You can trigger rebuilds via crates.io](https://docs.rs/about/builds#failures-and-rebuilds), if needed.