fancywm
fancywm copied to clipboard
Reduce Memory Usage
Describe the bug 200MB for managing window seems kinda big?
To Reproduce Steps to reproduce the behavior:
- Run fancywm
- check memory usage
Expected behavior
less bloated memory usage (<100MB)
Screenshots
Desktop (please complete the following information):
- OS: [e.g. Windows 11]
- Version [e.g. 21H2 64-bit]
Thanks for reporting this.
I can only suggest closing the Settings window when not using it, as keeping it open is definitely going to result in increased CPU and memory usage, as in the screenshot.
With the Settings window closed, the private heap peaks at 37 MiB (.NET objects), and Task Manager reports 160 MiB (on my machine, in debug). The 123 MiB difference between these two values is what is used by the platform (WPF, .NET, etc.) and as such is not directly under my control.
As far as I'm aware, there are no memory leaks, so for the time being, I see no practical way of reducing memory usage further without removing functionality. Sorry.
This issue is stale because it has been open for 14 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.