-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area-Tools-ILLink.NET linker development as well as trimming analyzers.NET linker development as well as trimming analyzers
Milestone
Description
Version Used: .NET 9.0.6 / Roslyn 4.14.0-3.25279.5+995f12b60535afe75cafbcefada9161d8dc4f31f
Steps to Reproduce:
- Open the attached project in Visual Studio, start a build
- Observe that the VBCSCompiler process starts taking CPU time and eventually eats gigabytes of memory (70+ GB on my machine, then starts swapping and slows to crawl)
- The compilation never finishes
Notably, disabling analyzers in MailClient.Emoji.csproj with <RunAnalyzers>false</RunAnalyzers> workarounds the issue. We didn't experience the issue with .NET 8 SDK when the projects were targeting net8.0 TFM.
Expected Behavior: The build finishes, doesn't consume all the memory.
Actual Behavior: Build doesn't finish and eats all my memory.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-Tools-ILLink.NET linker development as well as trimming analyzers.NET linker development as well as trimming analyzers
Type
Projects
Status
No status