Edit: RadTabView also leaks. Attached new sample app.
We have found leaks in these controls. I have attached a sample app that demonstrates the problem.
I have logged a support ticket but is anyone else experience similar leaks with these controls?
From the included readme.md:-
Description
Memory leaks when using
- Telerik RadDataGrid
- Telerik RadCalendar
- Telerik RadAutoComplete
- Telerik RadTabView
Configuration
- Dotnet 8
- Telerik.UI.for.Maui 6.6 (also happens with 6.5)
- Windows 10
Steps to reproduce
Build and run application
- Run publish.ps1 to build the application in release mode
- Run _temp/publish/Maui-Memleaks.exe
Leaks for every instance (RED buttons)
- Click a RED button.
- Close the "Close" button
- Click the "GC.Collect" button. Note that the "Alive" count will keep increasing every time you click a RED button (ie memory leak)
Leaks for last instance (ORANGE buttons)
- Click a ORANGE button.
- Close the "Close" button
- Click the "GC.Collect" button. Note that the "Alive" count will only increase the first time (ie memory leak), on subsequent clicks the "Release" count will increase.
No leaks (GREEN buttons)
- Click a GREEN button.
- Close the "Close" button
- Click the "GC.Collect" button. Note that the "Release" count will always increase (ie no leaks)