How to reproduce:
1. Install ASP.NET Core Runtime and .NET Desktop Runtime from https://dotnet.microsoft.com/en-us/download/dotnet/8.0
2. Open the “MemoryLeak” project
3. Open the “SampleScene”
4. Open the “ServerRuntime” folder locally on your system in the project’s folder
5. Open the “HelloGrpc.exe” file
6. Build And Run the project (File > Build And Run)
7. Open the Task Manager
8. Observe the memory usage of “MemoryLeak.exe” file
Expected result: Memory usage is stable
Actual result: The amount of memory used keeps growing
Reproducible in: 2022.3.28f1
Not reproducible in: 2022.3.33f1, 6000.0.6f1
Fixed in: 2022.3.29f1
Could not test with: 2021.3.39f1 (compilation errors)
Reproducible on: Windows 10, Windows 11 (user’s)
Not reproducible on: No other environments tested