Optimize memory when a specific process opens
Checklist
- [x] I have used the search function to see if someone else has already submitted the same feature request.
- [x] I will describe the problem in as much detail as possible.
- [x] This issue only requests one feature, not multiple (related) features.
App version
2.8
Problem you are trying to solve
My main problem with memory management in Windows 10 is that several applications use a web engine in the background. After a couple of hours, I get an "Out of Memory" error that crashes almost the entire system, and I need to reboot.
Suggested solution
It might be useful to optimize the memory when a new app is opened and the process was added to a list (like the exclusion list, but inverse).
For example, when I open Power BI Desktop, which needs a lot of memory to launch, WinMemCleaner detects the new process and starts optimizing the memory to give it enough space.
Screenshots / Drawings / Technical details
It would be a list similar to the exclusion list, but in reverse; an “inclusion” list, which would be executed if an option to do so is enabled in the “Auto Optimization” section.
It is indeed possible to implement this. I need to consider what parameters will be necessary. A simple list of parameters does not seem sufficient. For example, if the app cleans the memory immediately, it might not be ideal, as apps can take different amounts of time to start consuming memory. This could require a delay for each app, and we also need to consider how many times we want it to run, particularly for each specific app.
One initial idea that comes to mind is to create a trigger screen that allows users to set “rules” as needed. This could include options like cleaning a specific process after a specified number of seconds and repeating the action a certain number of times.
Setting the app to run after a certain percentage of free memory may help your case for now.
I love the fact that I am about to release a new version, and I keep getting suggestions, haha. I'll hold onto your idea for now to avoid further delay in the next release.
Thank you for your input!
It is indeed possible to implement this
Cool.
certain percentage of free memory may help your case for now.
Yep, I'm already trying around 5% and seeing how it is working.
I love the fact that I am about to release a new version
Awesome
Thank you for your input!
No, thanks to you :)