Rustc takes 3.5 GB RSS to check vtparse
#81124
Labels
A-borrow-checker
Area: The borrow checker
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.
WG-compiler-performance
Working group: Compiler Performance
I tried this code: wezterm/wezterm@fa4bbbd
I expected to see this happen: The compiler builds the code in a reasonable amount of memory (say, < 800 MB).
Instead, this happened: The compiler uses over 3 GB, causing docs.rs to kill the process: rust-lang/docs.rs#1247
Meta
rustc --version --verbose
:-Z time-passes
The main offenders that stand out are
which spike up from
time: 0.006; rss: 245MB misc_checking_2
before. It would be nice to reduce this somehow.The text was updated successfully, but these errors were encountered: