Skip to content

Memory Leak When Opening and Closing Pages #11001

@jczajko1

Description

@jczajko1

Describe the bug

Private memory continuously climbs when opening and closing pages in a WinUI 3 App.

Why is this important?

In our main app, as people open and close pages the app starts to increasingly slow down before it crashes.

Steps to reproduce the bug

Run the Repro app. Hit Open and Close 30 times. GC, run 30 more times. Private memory will continue to grow.

Actual behavior

Private memory will keep growing forever.

Expected behavior

Private memory should plateau or release at some point.

Screenshots

Image Image Image

NuGet package version

None

Windows version

No response

Additional context

These were not available in the drop downs.

Windows version is 10.0.26200 Build 26200. WindowsAppSDK is 1.8.260209005.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions