Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Cody
New Contributor I
77,623 Views

BUG: dwm.exe uses memory leakage with Intel HD Graphics 630

Hi,

dwm.exe (Desktop-Window Manager) uses high memory with Intel Intel HD Graphics 630. This problem has been reported before:

https://answers.microsoft.com/en-us/windows/forum/all/desktop-windows-manager-dwm-memory-leakage-in/...

 

https://www.reddit.com/r/windows/comments/iqttw5/windows_10_dwmexe_high_ram_usage/g4umzyn/?utm_sourc...

 

Here's a screenshot of my dwm ram usage after 2 hours (1.6 GB):
Image1.jpg

 

Please, this bug is already known for 3-4 months, and I do not want to reinstall a 2019 driver...

275 Replies
MrX1980
New Contributor I
2,398 Views

@HKlum Yes, these are WDDM 3.0 drivers and are coming (only) via Windows Update if you are using the Windows Insider Developer Channel.
NVIDIA has also a download location for those upcoming drivers here: CUDA on WSL | NVIDIA Developer
(registered users only, but its free to register)

Hint:
The first two numbers of the driver version indicates the WDDM version. (valid only for new drivers around 2021)
v27.... = WDDM 2.7
v30... = WDDM 3.0

As far as I know WDDM 3.0 has (only) some improvements for WSL2. I currently don't use WSL2.

Currently dwm.exe stays under 100MB, but I don't want to be happy too soon.

HKlum
New Contributor II
1,958 Views

So I have tested 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Dwm] "OverlayTestMode"=dword:00000005

it has no impact on the memory leak, as I am typing right now, dwm.exe is exploding watching a video with 2mb/s again.

But it seems to fix the flicker issue I was having too since a few months.

TurboTacho
Novice
1,909 Views

Hi @RonaldM_Intel ,

I thank you for your priority attention on the memory leak issue caused by DWM. Pardon me for lack of updates in here, as I haven't been visiting at the forum for quite a while. Some of us have posted this issue on Microsoft forums, and unfortunately no official staff or moderator were able to respond to the issues faced by many users, or to at least caught their attention at it.

Putting aside my technical grievances, as per your instructions I have managed to downgrade my Intel GPU driver to 27.20.100.8587 and retrieved several dump files at different timestamps to roughly gauge the memory leak.

The memory leak files have been uploaded to my Google Drive here: https://drive.google.com/drive/folders/1ZT0pqbe4Nc0o5OsTExNDdtNjBz8ZyCdP?usp=sharing

The files are marked with date and timestamp (YYYYMMDD_HHmm) respectively. Starting with the  following dump file sizes:

  • 251MB file (right off booting into Windows 10),
  • 0.97GB (switched off and rebooted later in the day + 2 hours usage),
  • 2.28GB (put to sleep mode for the afternoon + 2 hours usage),
  • 10.2GB (after third dump file + 4-6 hours of casual gaming)

I hope these dump files would enable your debugging team a deeper look at the issue, as well as lending on your team's expertise on resolving the memory leak issue.

Understandbly, the recommendation still stands, but we as consumers feel that we shouldn't be stuck in a ping-pong or limbo situation since Microsoft isn't moving at all despite our reports being sent to them.

Once again, I enourmously appreciate your continued effort reporting and tracking this issue in the internal bug database.

 

Best regards

TurboTacho

amd64_CometLake
Beginner
3,134 Views

Since the issue only occurs on driver versions 27.XX.XXXX and higher, I'd assume it's something to do with the WDDM 2.7, which makes sense as it was implemented early 2020.

Siyi
Beginner
2,631 Views

I had the same issue here with windows 2004, CPU I7-9700K with UHD 630 and no dedicated card. dwm.exe used to ate up 20GB of my 64GB memory after hoours to days of using, which was serious while I am working in memory-intense environment. Can confirm the problem disappeared after downgrading to 10. 26.20.100.7985. Hope Intel won't remove this version of drive from the website before this issue is fixed.

gain
Novice
4,688 Views

windows10 20H2.19042
Intel 10400 UHD 630 driver 27.20.100.8783 & 9079 & 9126 & 9168 memory leak.
There will be no memory leak in DWM-1, but it will start leaking after DWM-2.
Now using 27.20.100.9168.
Hope it helps you test!

My driver is lower than 27.20.100.8681, windows10 will force automatic update.
Hope Intel/Microsoft will solve it soon.

geminis3
Novice
4,544 Views

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 29.20.100.9116 btw I always have fast startup turned off cause I dual/triple boot other OSes on this machine.

geminis3
Novice
4,499 Views

After using Zoom screensharing recently the leak started to appear again

geminis3_0-1611609601514.png

 

Stefan3D
Honored Contributor II
4,274 Views

@geminis3 

Try 29.20.100.9263

@Cody 

Unfortunately 21H1 = 19043.x - i am afraid the major Windows update will come as 21H2

4,265 Views

Just made my account to say that this is happening to me too. It often occurs after about 8 hours of use. I found that putting it to sleep fixes the leak, though I think temporarily.

4,179 Views

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".

3,907 Views

New potential workaround: Sign out of your account and sign back in. It resets DWN.exe.

MonkeyDMax92
Beginner
4,365 Views

Same problem with my computer: ASUS ROG STRIX G17 G712LV-H7002T

- All my drivers are up to date

- The computer behaves normally after restarting

 

Cody
New Contributor I
4,278 Views

@RonaldM_Intel 

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 27.20.100.8476-  as soon I update to the next release 27.20.100.8587 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 27.20.100.8525, 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 😉

 

parameter
Beginner
3,978 Views

Energy management. screen off: never. no memory leak. ( Dwm.exe)

gain
Novice
3,502 Views

Now using 27.20.100.8681 will not memory leak, may be the last version without memory leak?

27.20.100.8681 is also the automatic update version of windows10

ogsdu
Beginner
2,986 Views

Hi! I had this issue with the latest driver as for 2/14/2021. That one was 27.20.100.9168 . Memory usage just kept increasing little by little. I downgrade it to 27.20.100.9079 and it seems fix for now. I will report anything here. 

ogsdu
Beginner
2,919 Views

The problem persisted, I downgraded even further to Driver Version: 26.20.100.8141 . 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.

PhYrE
Novice
2,824 Views

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.

Intel?

Tags (1)
danarreichi
Beginner
2,774 Views

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.

danarreichi_0-1613576094632.png

P.S. I have 27.21.14.6140 driver installed, Let me know if this is work on you. (sorry for bad english)

PhYrE
Novice
4,063 Views

 I'm turning off "Let Windows try to fix apps so they're not blurry". Now I got average 40-55MB of usage.

Where have you been all my life?

This is the ONLY thing on this forum that has worked.  It grew to 75MB and stayed there.  Way better than 2GB.

EDIT: On the next reboot we're back over 1GB after an hour.  That was a waste of time. Remains unfixed for months and between Intel and Microsoft, nobody seems to care.

Reply