You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nwn
changed the title
"memory allocation of _ bytes failed" when compiling Rocket
"memory allocation of _ bytes failed" when compiling certain crates
Jan 28, 2020
When trying to compile Rocket as a dependency on nightly, the build intermittently fails after making a large allocation, typically of about 34GB.
In the process, the system memory usage quickly reaches capacity and then the error occurs after a few seconds.
Possibly related: rust-lang/cargo#7840
Reproduction
Run
cargo.exe new rocket_test
.Add
rocket = "0.4"
as a dependency toCargo.toml
.Run
cargo.exe build
on nightly.Meta
System
Windows 10
16GB RAM
Rustc version
Cargo output
The text was updated successfully, but these errors were encountered: