-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
Steps to reproduce
- Run ExampleBrowserGtk3
- Open "PlotControllerExamples/Show tracker without clicking"
- Move mouse to update the Tracker and observe the memory allocation (in taskmgr or top)
Platform: Window / Linux
.NET version: Core 3.1
Expected behaviour
Memory usage should basically stay constant.
Actual behaviour
Memory usage increases constantly.
This looks much like a memory leak in the drawing routines.
I let the DrawText / MeasureText methods in GraphicsRenderContext return immediately without drawing, then there was no more leakage to be observed.
On Linux (raspberry pi) the GUI crashed almost instantly when moving the mouse over the plot so it might also be some kind of race condition involved.
Supposedly the memory is leaking everytime text is drawn, but it is only observed when doing the redrawing very frequently.
Metadata
Metadata
Assignees
Labels
No labels