out of memory compiling trait cycle #110561
Labels
C-bug
Category: This is a bug.
I-compilemem
Issue: Problems and improvements with respect to memory usage during compilation.
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I used
prlimt
to limit memory consumption to ~3gb:prlimit --noheadings --as=2000000000 rustc file.rs
in icemaker I would get
thread 'rustc' panicked at 'allocating stack failed with: Cannot allocate memory (os error 12)', /cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.15/src/lib.rs:168:21
but I have not been able to reproduce this outside of it yetThe text was updated successfully, but these errors were encountered: