dwm.exe (Desktop-Window Manager) uses high memory with Intel Intel HD Graphics 630. This problem has been reported before:
Here's a screenshot of my dwm ram usage after 2 hours (1.6 GB):
Please, this bug is already known for 3-4 months, and I do not want to reinstall a 2019 driver...
A friend had this problem, and my previous workaround didn't work for him.
After studying the problem for some time, I noticed that it only occurred when the Username shown in Task Manager > details > dwm.exe was DWM-2 or higher (I saw up to DWM-7). If the Username was DWM-1 the problem did not occur. DWM-1 is the account "Console Logon", and I eventually found a way of ensuring that dwm.exe always runs with this account. The solution was to disable Windows "Fast Startup", and multiple cold boots always resulted in DWM-1 being used. With "Fast Startup" enabled it would switch to DWM-2 etc after a couple of reboots.
When using Windows Manager accounts DWM-2 or DWM-3 etc, the memory leak started to show within minutes, but I couldn't reproduce the leak using DWM-1.
I tried searching Online for a screenshot of a Task Manager screen showing the "Details" tab with high memory usage of dwm.exe, to check the account being used, but I couldn't find one. As a result, I can't say if this will work for others?
I currently use driver 22.214.171.12476 since the problem occurs on my computer when updating to next public release 126.96.36.19987. I'm not sure whether Intel can provide intermediate versions so I can help to find out the buggy update version.
If I make a fast-startup I see that I use DWM-15 (with 8476 and no memory leak), on cold reboot it is DWM-1. I cannot tell whether having constantly DWM-1 would fix the problem since the 8476 driver doesn't seem to have this problem with other accounts than DWM-1.
Look like the "x" in DWM-x means sessions id, so look like is intel drive doesn't handle it smoothly or something, and cause memory leak.
But I still have no idea for reproducing constantly, and is the only way for fixing it.
Disabling "Fast Startup" worked for me, but my workaround is only one of many possible alternative "solutions" out there. Many people may choose not to disable this setting as they find it improves boot & shutdown time? They may also find it doesn't fix the memory leak for them?
I see that 188.8.131.5268 has just been released, so perhaps that will be an improvement, and no dwm.exe memory leak workarounds will be required?
Intel 10400 UHD 630 driver 184.108.40.20683 & 9079 & 9126 & 9168 memory leak.
There will be no memory leak in DWM-1, but it will start leaking after DWM-2.
Now using 220.127.116.1168.
Hope it helps you test!
My driver is lower than 18.104.22.16881, windows10 will force automatic update.
Hope Intel/Microsoft will solve it soon.
Just signed up to tell 29.20.100.XXXX drivers don't have the memory leak, after using my laptop for 8 hours my dwm.exe usage is between 80-100mb which is nothing compared to 4-6GB it used to be on previous versions.
I got this driver from some forum and the version number is 22.214.171.12416 btw I always have fast startup turned off cause I dual/triple boot other OSes on this machine.
estimating the reports and views in this thread, it seems like a LOT of people have this bug, and it is unfortunate that you cannot reproduce it. From my experience as programmer, I know that bugs that cannot be reproduced are not fixable.
I have 2 suggestions how to solve this problem
#1: another user (MrX1980) posted in this thread that this problem might be fixed with windows dev build 21292, so we can delegate it to MS and hopefully they provide a fix in 21H1.
#2: what I personally would prefer is that we find out which change in your code caused the issue. I tested all public available drivers and found that the last version without this bug is 126.96.36.19976- as soon I update to the next release 188.8.131.5287 the bug occured. With a simple logarithmic search we can find the culprit version update if you are able to provide intermediate releases. But I of course do not know your company policies, like whether these are e.g., confident.
My idea is that if you provide me 184.108.40.20625, and this one bugs, I continue with 8550, if works, I test 8500 afterwards. If 8500 bugs I will test 8488. It will take maybe log2(100) = 7 tests this way to find the buggy update.
If you know the exact version, you could check the documented logs and maybe find something obvious or simply reverse the changes.
I'd be happy to help here if I can 😉
I might have found the solution, but this is just five or so minutes after making this discovery so it may need a trial before I can confirm.
Turn off Fast Start Up, since it seems that when I reset it, it just goes to normal but if I shut it down and turn it on with Fast Start Up on, for some reason DWM is a little more bloated. Turning off Fast Start Up will make it more akin to "resetting".
I still see sometimes abnormal spikes >500MB, but it seems that since Win10 build 21292 the dwm.exe process will be better flushed after I close the apps. My desktop computer with nVidia GTX 1060 never reaches over 100MB.
Currently I use Win10 build 21301 and driver 220.127.116.1163 and had 3 IRQL_NOT_LESS_OR_EQUAL GSOD (AV_nt!MiGetPfnPidSafe). I don't know if this has something to do with this bug. With my desktop computer I don't have these GSOD.
Hi! I had this issue with the latest driver as for 2/14/2021. That one was 18.104.22.16868 . Memory usage just kept increasing little by little. I downgrade it to 22.214.171.12479 and it seems fix for now. I will report anything here.
The problem persisted, I downgraded even further to Driver Version: 126.96.36.19941 . After a clean installation using DDU the memory usage has been stable for a couple of hours. I'm leaving these comments in the hope to help other people.
Most concerning is that this has been ongoing for so long, yet there seems to be no welcome fix for it?
I have a 10th gen i7 laptop which leaks from 53MB to >2GB gradually after a matter of hours until the system slows to a halt... just by doing regular things like e-mail and web surfing. Tried disabling hardware acceleration in Chrome/etc. Tried downgrading drivers (but the 630 isn't supported on the last-known non-leaking drivers of 100.6286) as well as upgrading to the latest- had 5-6 driver versions explicitly installed such as 100.9168, 100.8476, and always has the same results.
Intel- if you want a use case I'm happy to make you dump files. Just need this fixed. All of the 'solutions' here aren't solutions at all- just people restarting DWM to have it reset, or turning on full reboots which resets it to allow it to leak again.
So.. last week, I was digging into windows setting that handle scaling. then I'm turning off "Let Windows try to fix apps so they're not blurry". Now I got average 40-55MB of usage.
P.S. I have 188.8.131.5240 driver installed, Let me know if this is work on you. (sorry for bad english)