WinMemoryCleaner icon indicating copy to clipboard operation
WinMemoryCleaner copied to clipboard

Intermittent freezing occurs; the GUI page becomes unresponsive and cannot be exited from the system tray. The only solution is to force quit via Task Manager and then manually restart the application.

Open mrxxx66 opened this issue 10 months ago • 15 comments

Current Behavior

Intermittent freezing occurs; the GUI page becomes unresponsive and cannot be exited from the system tray. The only solution is to force quit via Task Manager and then manually restart the application.

Expected Behavior

Intermittent freezing occurs; the GUI page becomes unresponsive and cannot be exited from the system tray. The only solution is to force quit via Task Manager and then manually restart the application.

Steps to Reproduce

1.The laptop is in sleep mode and is about to start up.

App Version

3.0.8

Windows Version

Windows 10

Additional Context

No response

Checklist

  • [x] I have searched the existing issues to make sure this bug has not been reported yet.
  • [x] I have tested with the latest version of the application.

mrxxx66 avatar Jan 28 '26 14:01 mrxxx66

For me the gui window wont even open even if I restart the process. Dont know why usually it opens right at startup

DonCapoGerente avatar Feb 01 '26 14:02 DonCapoGerente

Have you tried cleaning one memory area at a time and seeing which one is causing the crash? Once you identify the memory area, you can skip it to preserve system stability. However, it might optimize a smaller amount of memory. You can also see if there is any process crashing and add it to an exclusion list. Try these approaches and let me know the results.

IgorMundstein avatar Feb 04 '26 18:02 IgorMundstein

Same on Win11

the freezing ALWAYS occurs when running for a short while

While the system tray froze, I clicked the tray, checked the Event Viewer and found:

{
  "level": "Error",
  "method": "OnDispatcherUnhandledException",
  "message": "Not enough quota is available to process this command.",
  "data": null
}

VicissitudeYW avatar Feb 05 '26 10:02 VicissitudeYW

I am unsure if the crash came after a new Windows update, but before the GUI window would normally be open at startup. The only thing that works is force ending the process & disabling the registry file and then you can open it only once. Haven't tried to look for what options are causing it specifically, but maybe it will help.

Just a small suggestion, idk if there is any search function the processes you want to, but a small search bar would be mighty helpful, navigation with my touchpad seemed either to fast or to slow while searching for certain processes.

DonCapoGerente avatar Feb 05 '26 12:02 DonCapoGerente

Same on Win11

the freezing ALWAYS occurs when running for a short while

While the system tray froze, I clicked the tray, checked the Event Viewer and found:

{
  "level": "Error",
  "method": "OnDispatcherUnhandledException",
  "message": "Not enough quota is available to process this command.",
  "data": null
}

This is helpful. There's something not handling well with this system notification tray icon. The app runs on a legacy framework to support legacy Windows, which is not fully optimized for newer Windows versions. I am about to release a new version with some pending fixes and enhancements. I will try to improve the piece of code that might be causing this behavior. It's tricky to simulate, but with more users and reports, it helps identify it.

IgorMundstein avatar Feb 05 '26 18:02 IgorMundstein

I am unsure if the crash came after a new Windows update, but before the GUI window would normally be open at startup. The only thing that works is force ending the process & disabling the registry file and then you can open it only once. Haven't tried to look for what options are causing it specifically, but maybe it will help.

Just a small suggestion, idk if there is any search function the processes you want to, but a small search bar would be mighty helpful, navigation with my touchpad seemed either to fast or to slow while searching for certain processes.

Even Windows gets unstable after some updates, but I'd rather believe the code can always be improved than blame Windows.

GUI improvements are a bit limited because the app runs on a legacy framework that doesn't provide the same resources as newer ones. The only way is to implement it manually. I will check if it can be improved with a search bar on top of the dropdown when opened.

IgorMundstein avatar Feb 05 '26 18:02 IgorMundstein

I will try to disable the registry cache option, maybe this causes it, because when I delete the registry cache of win mem it's works again, I don't know how the program works exactly, but I will say if it starts reliably after

DonCapoGerente avatar Feb 06 '26 16:02 DonCapoGerente

Seems to work, at least the window starts up again after closing

DonCapoGerente avatar Feb 06 '26 16:02 DonCapoGerente

This is happening to me too, with it freezing. It started happening 1-2 months ago even though I've used Windows Memory Cleaner for much longer than that. Everything has been the same on my Windows 11 desktop except a new monitor that I have go to sleep much more often because it's OLED and Wallpaper Engine.

Korrupture avatar Feb 07 '26 03:02 Korrupture

I've just found another report in #190. I have the same experience.

PX03AFK avatar Mar 09 '26 03:03 PX03AFK

Same issue. Win 11 Pro. The GUI just stops working, and automatic options fail to work. Automatic actions work for about a day before stopping entirely.

darethejackal avatar Apr 12 '26 01:04 darethejackal

Same issue, Win 10 Pro, installed about 24h ago, found it frozen and unresponsive to optimize/exit commands. Had to kill it from task manager. Installed via WinGet.

stderr-to-devnull avatar May 08 '26 18:05 stderr-to-devnull

https://github.com/IgorMundstein/WinMemoryCleaner/issues/192#issuecomment-4419041749 This is the issue video.

ParthProLegend avatar May 11 '26 09:05 ParthProLegend

I'll keep looking into it.

It runs on an old framework that doesn't handle multitasking well. I'll probably have to bump the version and drop support for XP/2003.

IgorMundstein avatar May 12 '26 16:05 IgorMundstein

Same on Win11

the freezing ALWAYS occurs when running for a short while

While the system tray froze, I clicked the tray, checked the Event Viewer and found:

{ "level": "Error", "method": "OnDispatcherUnhandledException", "message": "Not enough quota is available to process this command.", "data": null }

我在windows 10 22H2上也遇到了类似的问题, 他出现时的表现是托盘图标消失, 但进程依旧存在. 最终解决是强制关闭掉进程, 再重新启动就恢复了. 在他出现崩溃之前并没有任何征兆, 并且也没有执行过清理任务. 附件是那段时间的window事件日志, 但我没在其中发现有什么相关联的事件, 不知道能否帮得上忙.

I encountered a similar issue on Windows 10 22H2. The symptom was that the system tray icon disappeared, even though the process was still running in the background. I eventually resolved it by force-killing the process and restarting the application. There were no warning signs prior to the crash, and no cleanup tasks had been executed. I've attached the Windows Event Logs from that time period, but I couldn't find any related events in them. I'm not sure if they will be of any help.

20260609094000-20260609095400.zip

Yi-Frank avatar Jul 07 '26 04:07 Yi-Frank