-
Couldn't load subscription status.
- Fork 1.2k
Description
Description
Here is a minimal reproducible demo.
There is a rapid memory increment after clicking the minimize button. I've tested this problem with different graphic cards (integrated and discrete ). Until now, the following cards could reproduce the memory leak issue:
- NVIDIA GeForce GTX 1650
- NVIDIA GeForce GTX 3050
- NVidia Geforce GT 710
- ATI 6750
- Intel UHD 630 Graphics (integrated with i7-9700)
I've also tested the problem on different OSes (win10 LTSC2018-2022, win10 home, win 11 home) and .NET versions (framework 4.5 4.6 4.7 4.8, dotnet6 8). Unfortunately, all these software conditions have the same problem.
For Intel UHD 630, driver versions from old 27.x to the latest 30.x were tested, no help.
Reproduction Steps
This video is a step-by-step example demonstrating how to reproduce this issue.
Expected behavior
There should be no memory leaks when running on different graphics cards.
Actual behavior
Memory leaks occur when running on some graphics cards.
Regression?
No response
Known Workarounds
- Comment the
WindowChromepart out in Style could solve the leak problem. But I don't know why; (No minimization button, should press win+D to minimize the window)
; - Using software-rendering;
- Restore the window to the normal state, those memory would be "released". Video;
- No obvious memory leak on NVIDIA Geforce RTX 4060 Laptop GPU, win 11
Impact
No response
Configuration
No response
Other information
No response