I noticed a memory leak when working with Template10. Easy to play: 1. Create a new application based on the design of a hamburger menu template. Do not add code. 2. Compile and run the application. 3. Re-switching from the main page to the details page (and vice versa) will cause the memory used by the application to continue to grow. 4. (optional). I added the following calls to the OnNavigatedTo handlers for all pages to just force the memory (this did not affect):
GC.Collect();
GC.WaitForPendingFinalizers();
GC.Collect();
I saw links to this problem elsewhere, but did not find anything indicating that this is the current status. It was closed on this subject without explanation: https://github.com/Windows-XAML/Template10/issues/777
Some say that this is using x: Bind, others are using handler handlers manually. In other threads, Microsoft has denied that this is even a problem. But there it is.
Does anyone know if this is being actively addressed or what is status? Based on other threads, I'm not 100% sure that this is a problem even with template10, but it is easy to reproduce using the ready-made template10 project.
source
share