Rustc does not free memory before calling the linker #66643
Labels
A-codegen
Area: Code generation
A-linkage
Area: linking into static, shared libraries and binaries
C-bug
Category: This is a bug.
I-compilemem
Issue: Problems and improvements with respect to memory usage during compilation.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Hello,
While compiling rust-analyzer, I witnessed elevated memory usage by rustc while the linker is active. In that case, more that 600 MB is allocated by the compiler. In cargo-parallelized build, this is a lot.
rustc version: 1.40.0-nightly (5da4b4d47 2019-10-28)
Thank you for investigating this.
The text was updated successfully, but these errors were encountered: