Memory leak when previewing images with Peek #33593
Labels
Issue-Bug
Something isn't working
Priority-1
Bug that is high priority
Product-Peek
Refers to Peek Powertoys
Resolution-Fix Committed
Fix is checked in, but it might be 3-4 weeks until a release.
Status-Reproducible
This issue was reproduced by a maintainer
Milestone
Microsoft PowerToys version
0.81.1
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
Peek
Steps to reproduce
✔️ Expected Behavior
Peek navigates through the images contained within the folder and uses a reasonable amount of memory, related to the size of the individual images being previewed. Subsequent navigations through the same images use the same amount of memory, i.e. the maximum memory used for previewing the folder images does not increase.
❌ Actual Behavior
The memory used by the application increases and is never reclaimed, leading to increased memory pressure on the system.
When the first image is displayed, the tool uses ~150MB:
After navigating through 500 images using the arrow keys, the tool uses ~1.4GB:
Some notes:
Bug report logs: PowerToysReport_2024-07-02-12-19-16.zip
Other Software
No response
The text was updated successfully, but these errors were encountered: