Open daverayment opened 4 days ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
I can repro this. Takes a bit with images but got it up to over 300mb and held. Quick glance at code "looks" like it does clean up but clearly it doesn't seem to.
We should validate all file times depending on fix
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