Wwindows Desktop Manager just eats ram progresively, and sometimes… well… see this
Task Manager
If you face problems with dwm.exe, here are a few things you could try.
1] If Desktop Window Manager is consuming high resources you need to change your theme or wallpaper and see if that helps. If you have activated a Screensaver, disable it and see. In fact change all your
Personalization settings like Lock Screen, Color Profiles, etc, and see if it makes the problem go away.
2] You need to optimize Windows for better performance. Run the
Performance Troubleshooter. Open an elevated Command Prompt, type the following and hit Enter:
msdt.exe /id PerformanceDiagnostic
This troubleshooter helps the user adjust settings to improve operating system speed and performance. If this does not help, you may need to troubleshoot Windows performance issues.
3] You may also search for and open
Performance Options window and click on the Visual Effects tab. Select the radio button to
Adjust the system for best performance.
4] Switching to the
Basic Theme will greatly reduce the load on the system and the battery. However, it wouldn’t stop the Desktop Window Manager from running.
5] Some have reported that updating display drivers helped them. So check if you are using the latest device drivers for your computer.
6] Some installed software are also known to make dwm.exe use high memory. So make sure that your Windows operating system, as well as all your installed software, is
updated to the latest versions.
7] The legit dwm.exe process is located in the
System32 folder. But if it is located in some other folder, it could well be malware. So do run a
full scan with your antivirus software.
8] Perform a Clean Boot and then try to manually find the offending process which is causing dwm.exe to perform inefficiently.
9] System administrators can make use of Xperf which is a performance tracing tool based on Event Tracing for Windows, and which is a part of Windows Assessment and Deployment Kit.
Regards,
Joe