[QUESTION] WPF SKElement and memory consumption #1619
Replies: 6 comments
-
What version of SkiaSharp are you using? Is this .NET Core or Full Framework? Also, is it possible to attach a sample that I can have a look at? You code n this issue seems to be correct, so I can't say what might be causing the issue. What I can say is try not disposing and recreating the What happens if you also just draw a blank screen for the GPU - say clear with red. Does it still leak? |
Beta Was this translation helpful? Give feedback.
-
Hi Matthew It is a .NET Core 3.1 It's a bit complex aplication, but i will include the code section that causes the trouble. The memory consumption is really fast! Thank You Peder
|
Beta Was this translation helpful? Give feedback.
-
I have the same issue |
Beta Was this translation helpful? Give feedback.
-
Same issue here: and found out that calling |
Beta Was this translation helpful? Give feedback.
-
I wonder if this can be investigated using the members on the new SKGraphics type that was added. Maybe the path is being cached or something? Maybe have a look at playing with those values will turn up something? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hi
In a WPF app i use skiasharp to write spokes to a circle via the GPU, i create my grcontext all works allrigth
but if do not update the Canvas that i get in PaintSurface from SKElement, every operation on the surface created from grcontext consumes memory without releaseing it.
se code
Thank You
Beta Was this translation helpful? Give feedback.
All reactions