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
Peek memory leak/does not clear memory after closing the window and after reaching a limit #26162
Comments
@SamChaps for your information. |
/bugreport |
I am unable to reproduce this. I have tried several different folders of images and videos, but the highest memory usage was about 500 mb. Averaging around 300 mb. Powertoys 0.70.0 |
On my laptop, it cause CPU high usage. I opened an issue here. #26176 |
Okay so I was looking around the log files of all the Powertoys apps and Peek is the only one that has Error messages in its log file. Is it okay if it only share the Peek's log file? My basic system configuration if its necessary information: The UI process reaches even 4 GB of usage after previewing high resolution images and going through them by holding down the left or right arrow keys. It then randomly drops back to like 500-600 MB after previewing another file in a different folder. Even if I don't go through images by holding down the keys, opening a few high resolution (like 4K or higher) images is mostly enough for it to reach 1 GB. I tried reinstalling multiple times from different sources (installer downloaded from the official site, Winget, MS Store), deleting all of Powertoys' data files and making sure it's as close to a fresh install, turning off all the other apps of Powertoys except Peek and even tried to reinstall WebView2 but none of them seemed to make a difference. Not sure why its not reproduceable on other systems but I hope it could get resolved somehow because this was a feature that I was really excited for because even though apps like Quick Look exists I am sure that Powertoys team can make a more native feeling and lightweight one. |
Fixed in 0.71 release of PowerToys. aka.ms/installpowertoys |
Microsoft PowerToys version
0.70.0
Installation method
WinGet
Running as admin
No
Area(s) with issue?
Peek
Steps to reproduce
1- Turn on Peek
2- Open Task Manager and watch the memory usage of Peek's process
3- Preview a few images, files etc. from the File Explorer
4- Watch the memory usage of Peek even reach 1000 MBs as you preview more images and files.
✔️ Expected Behavior
I expected it to not use so much memory, clear its memory after closing the preview window and have a soft limit to its memory usage
❌ Actual Behavior
It reached really high and unreasonable numbers of memory usage after previewing some images and files.
Other Software
No response
The text was updated successfully, but these errors were encountered: