-
Notifications
You must be signed in to change notification settings - Fork 675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak in Multi-window scenario #7617
Comments
I've been making some tests here, and the problem appears to be in a Window object that still forever allocated, in my tests, even I closed New Window and check if it removed from App.Current.Windows collection, the object never will be collect by GC and I cannot find who is locking up on the object tree. Unfortunately I didn't find any workaround for this issue, do you guys have any idea? |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
There has been a lot of work on the shutdown process in 1.4 and we hope that that has addressed this issue. If this still continues to occur under 1.4, please feel free to reopen. |
Still happening in dotnet8. |
Describe the bug
In a WinAppSDK multi-window scenario, the memory footprint increases even when windows are closed out.
Steps to reproduce the bug
Expected behavior
Memory footprint is the same before and after multi-window scenario.
Screenshots
NuGet package version
1.2.220727.1-experimental1
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 21H2 (22000)
IDE
Visual Studio 2022
Additional context
No response
The text was updated successfully, but these errors were encountered: