-
Notifications
You must be signed in to change notification settings - Fork 597
Description
Description
When drawing patterns in wpf, a memory leak issue was encountered on the high resolution monitor.
There are variations for each GPU driver, so when I analyzed it, I found that it only occurred in the Nvidia Quadro series.
I've checked that it doesn't happen with the graphic card below.
- Nvidia Geforce
- AMD
Assuming the Nvidia Quadro series was a problem, I tested it after adding the code below.
We have confirmed that the issue does not occur when we add the code below.
protected override void OnStartup(StartupEventArgs e)
{
// Mode to turn off hardware acceleration and enable software rendering only
// Completely exclude GPUs and handle all screen outputs with only CPU operations
RenderOptions.ProcessRenderMode = RenderMode.SoftwareOnly;
base.OnStartup(e);
}
Due to the performance of other features of the current application, it is impossible to use the code above. How can I solve that problem?
Expected Behavior
I always want to be a good draw without having a Memory Leak issue.
Actual Behavior
No response
Version of SkiaSharp
3.116.0 (Current)
Last Known Good Version of SkiaSharp
2.88.9 (Previous)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
Windows
Platform / Operating System Version
No response
Devices
No response
Relevant Screenshots
No response
Relevant Log Output
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
Type
Projects
Status