rust-lang/docs.rs

Increase sandbox RAM limits for mavlink

Closed this issue · 1 comments

pv42 commented

Crate name

mavlink

Build failure link

https://docs.rs/crate/mavlink/0.14.1/builds/2159435

Requested RAM limit

8GB

Requested timeout

default

Requested number of targets

default

Why your crate needs the resource increases

The mavlink crate uses a lot of generated code that is also documented. With the growing size of the definitions that the auto generator uses, the total RAM requirement has increased.
From local testing, the peak RAM usage of rustdoc is between 5.2 and 6.5GB so potentially higher the the default limit of 6.44GB.

Therefor I am asking for a limit increase. A lower value like 7GB would likely also suffice, but 8GB gives a bit of headroom.
Alternatively we could disable some rarely used feature flags to decrease the memory footprint for the docs.rs build. This could reduce the required memory by about 500MB.

On our CI the docs are building correctly: https://mavlink.github.io/rust-mavlink/mavlink/

See #2096 for a previous issue.

I updated the memory limit and queued a rebuild of the release