jjw24 / Wox

Launcher for Windows, an alternative to Alfred and Launchy.
http://wox.one
MIT License
154 stars 12 forks source link

Ram usage #161

Closed thegamerx1 closed 3 years ago

thegamerx1 commented 4 years ago

Are you submitting a bug report?

yes

Steps to reproduce

1.start wox 2.open task manager 3.check ram

Detailed logs

https://pastebin.com/djYczW8F

i think that 100mb is too much for a launcher image

jjw24 commented 4 years ago

hmm, we have had a similar issue with this in https://github.com/jjw24/Wox/issues/96, likely also due to image caching. Will take a look later. My process usually averages between 70-80 mbs.

theClueless commented 4 years ago

the image caching is still not optimal, It would be fairly simple to reduce the load and pay a little bit in the time it take to show the icons. Simple solution would be to make the MaxCached = 5000 const value in ImageCache to a configurable of low (500)\med (3000)\high (5000) memory usage. Another better option is to try and see how we load it faster and fully remove it better from memory after usage. I wanted to get to it but still didn't got the chance. 3 main we can start with are:

jjw24 commented 3 years ago

Just going to close this as this repo is no longer maintained, feel free to open the issue in Flow if this is still a problem