microsoft / microsoft/WinUI-Gallery

Crazy memory leak in ContentIsland page

Open
#2,149 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
3.6k
Forks
756
Avg merge
17h 51m
Merged PRs (30d)
14

Description

Which version of the app?

WinUI 3 Gallery

Description

I found out the ContentIsland page will keep eating up GPU resources even after navigated away. It keeps consuming both the GPU core and VRAM. Navigate back and forth a few times and load up the 3d models, you will have your GPU usage pinned at 100%.

Image
Screenshots

No response

Windows version

October 2018 Update/RS5 (17763)

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the WinUI 3 Gallery: navigate away from the ContentIsland page, return repeatedly, and load the 3D models while monitoring GPU core and VRAM usage. Done means GPU resources are released after leaving the page instead of accumulating across navigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
computer-graphics, desktop, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.