Skip to content

Issues: rust-lang/rust

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Author
Filter by author
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
Sort

Issues list

fails to compile rustc_middle for i686-pc-windows-gnullvm C-bug Category: This is a bug. I-compilemem Issue: Problems and improvements with respect to memory usage during compilation. needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. O-windows-gnu Toolchain: GNU, Operating system: Windows
#131786 opened Oct 16, 2024 by ognevny
High memory usage with cargo build in match statement A-patterns Relating to patterns and pattern matching 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.
#131410 opened Oct 8, 2024 by Joshix-1
rustc consumes > 50GB memory, completes eventually but def. stuck on something A-typesystem Area: The type system E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example I-compilemem Issue: Problems and improvements with respect to memory usage during compilation. I-compiletime Issue: Problems and improvements with respect to compile times. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-types Relevant to the types team, which will review and decide on the PR/issue.
#129844 opened Sep 1, 2024 by GlenDC
Massive memory usage when type annotations needed C-bug Category: This is a bug. E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example 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. T-types Relevant to the types team, which will review and decide on the PR/issue.
#125651 opened May 28, 2024 by logistic-bot
high memory requirement during monomorphization 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.
#125212 opened May 17, 2024 by matthiaskrgr
out of memory 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. P-medium Medium priority regression-from-stable-to-stable Performance or correctness regression from one stable version to another.
#124901 opened May 8, 2024 by matthiaskrgr 1.77.0
Rustc hangs infinitely and consumes increasingly more memory on specific macro expansion A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) C-bug Category: This is a bug. I-compilemem Issue: Problems and improvements with respect to memory usage during compilation. I-hang Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#123848 opened Apr 12, 2024 by blaumeise20
Compiler takes 30 minutes + large (32GB+) amounts of ram to compile code with large amount of arguments + function-within-function A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) C-bug Category: This is a bug. E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example I-compilemem Issue: Problems and improvements with respect to memory usage during compilation. I-slow Issue: Problems and improvements with respect to performance of generated code.
#122944 opened Mar 23, 2024 by cheesycod
Compiler indefinitely takes resources when HRTB is used in conjunction with lifetime in GAT A-GATs Area: Generic associated types (GATs) A-higher-ranked Area: Higher-ranked things (e.g., lifetimes, types, trait bounds aka HRTBs) A-lifetimes Area: Lifetimes / regions A-traits Area: Trait system C-bug Category: This is a bug. fixed-by-next-solver Fixed by the next-generation trait solver, `-Znext-solver`. I-compilemem Issue: Problems and improvements with respect to memory usage during compilation. I-hang Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#121821 opened Feb 29, 2024 by dodomorandi
Compiler hang on resursive trait bound when async fn in trait A-traits Area: Trait system C-bug Category: This is a bug. fixed-by-next-solver Fixed by the next-generation trait solver, `-Znext-solver`. I-compilemem Issue: Problems and improvements with respect to memory usage during compilation. I-hang Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#117999 opened Nov 17, 2023 by danjl1100
Compiling with overflow-checks = true is slow and uses high amounts of RAM A-const-prop Area: Constant propagation 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.
#117295 opened Oct 27, 2023 by Zannick
Compiler OOM in release mode with large array literals 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.
#115945 opened Sep 18, 2023 by eliPerez12
Crate build fails only on native armv7 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. O-Arm Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#115674 opened Sep 8, 2023 by diconico07
Memory usage of re-exported types is high A-cross-crate-reexports Area: Documentation that has been re-exported from a different crate C-bug Category: This is a bug. I-compilemem Issue: Problems and improvements with respect to memory usage during compilation. S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
#115431 opened Sep 1, 2023 by FlixCoder
Slow compilation of async fn that creates a vector with many Strings created from string literals, even with no .await A-async-await Area: Async & Await AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. I-compilemem Issue: Problems and improvements with respect to memory usage during compilation. I-compiletime Issue: Problems and improvements with respect to compile times. P-medium Medium priority T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-async Working group: Async & await
#115327 opened Aug 28, 2023 by shepmaster
OOM/surprising memory consumption with Rust 1.72 A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. I-compilemem Issue: Problems and improvements with respect to memory usage during compilation. O-wasm Target: WASM (WebAssembly), http://webassembly.org/ P-high High priority regression-from-stable-to-stable Performance or correctness regression from one stable version to another. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#115216 opened Aug 25, 2023 by amiyatulu
Extreme usage of impl traits leads to excessive rustc memory A-traits Area: Trait system C-bug Category: This is a bug. I-compilemem Issue: Problems and improvements with respect to memory usage during compilation. I-compiletime Issue: Problems and improvements with respect to compile times. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-types Relevant to the types team, which will review and decide on the PR/issue.
#114240 opened Jul 30, 2023 by neildanson
OOM while printing query stack during panic after ICE 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. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ requires-debug-assertions This issue requires a build of rustc or tooling with debug-assertions in some way T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#112522 opened Jun 11, 2023 by matthiaskrgr
out of memory compiling trait cycle 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.
#110561 opened Apr 19, 2023 by matthiaskrgr
very slow type_check_crate stage after error is already thrown I-compilemem Issue: Problems and improvements with respect to memory usage during compilation. I-compiletime Issue: Problems and improvements with respect to compile times.
#109023 opened Mar 11, 2023 by matthiaskrgr
Busy-loop Evaluating Bound on GAT Argument A-GATs Area: Generic associated types (GATs) A-traits Area: Trait system C-bug Category: This is a bug. fixed-by-next-solver Fixed by the next-generation trait solver, `-Znext-solver`. I-compilemem Issue: Problems and improvements with respect to memory usage during compilation. I-hang Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#108374 opened Feb 23, 2023 by Lunderberg
[ICE]: compiler segfault with GAT A-GATs Area: Generic associated types (GATs) A-traits Area: Trait system 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. P-high High priority T-types Relevant to the types team, which will review and decide on the PR/issue.
#107366 opened Jan 27, 2023 by douglas-raillard-arm
3 of 4 tasks
Large memory usage in codegen, probably due to symbol names A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. 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.
#93804 opened Feb 9, 2022 by marieell
Compiler spends all available memory when large array is initialized with lazy_static C-bug Category: This is a bug. I-compilemem Issue: Problems and improvements with respect to memory usage during compilation.
#93215 opened Jan 22, 2022 by hniksic
Large memory usage and long time on compiling large number of println 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. I-compiletime Issue: Problems and improvements with respect to compile times. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#86244 opened Jun 12, 2021 by upsuper
ProTip! Type g p on any issue or pull request to go back to the pull request listing page.