high memory requirement during monomorphization #125212
Labels
A-monomorphization
Area: Monomorphization
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.
I noticed this while fuzzing because rustc would crash after hitting the memory limit inside the sandbox
We need around 1.5 gb of memory during monomorphization here it seems.
Next solver does not help.
I tried this code:
rustc file.rs -Ztime-passes -Clink-dead-code
Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: