Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Cody
New Contributor I
80,678 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...

292 Replies
TurboTacho
Novice
1,842 Views

Just a little shocker while I was playing games/test streaming on Twitch/chatting on Discord with friends. My laptop completely froze for a good minute or two because it ran out of RAM (that's 64GB), and peaked at 95% at around 45GB before going down slightly.

DWM.0.png

Though I'm running on 27.20.100.9466. Half my senses tell me it's partially Microsoft's to blame as well. But apparently they only have community forums and not actual ones...

robinallan_25
Beginner
2,959 Views

A solution: on my Dell desktop 8930 I switch the tower on but delay turning on the monitor for a few minutes (up to five). This prevents the ludicrous escalation of window manager seemingly permanently - do not know why this should be but it might help until a proper resolution is found!  

DominatorNW
Novice
2,363 Views

It's Intel drivers issue my brother has a laptop with the same version of Windows but he doesn't have intel graphics he has nvidia graphics and no problems. why intel whyyyyy 😭😭😭😭😭😭

I have a Core i7 7700, Intel HD 630 and if I have the problem of dwm.exe and it consumes me up to 1.5Gb of RAM.

the same goes for my sister she has Intel HD 530 and only 4Gb of RAM and the process consumes almost all the RAM

DominatorNW
Novice
2,368 Views

it's intel's problem to me and my sister (HD 630/530) we do the same with dwm.exe consumes 1.5GB of RAM and my brother doesn't, he has nvidia graphics without integrated graphics (we all have the same version of windows) 20H2

HKlum
New Contributor II
2,277 Views

I found out why <= 27.20.100.8476 fixes the memory leak and was able to verify this. It seems there is a bug in <= 27.20.100.8476, which will prevent modern standby to work. The laptop will not enter deep sleep (c10) when you revert back to <= 27.20.100.8476, and therefor wont trigger the issue with dwm.exe in the first place. So the theory, that this is indeed connected with standby and also hibernate is correct.

I also noticed that when you disable a dGPU in device manager and use >  27.20.100.8476 this wont trigger the issue too, because this will also break modern standby. Disabling a device in device manager will prevent the laptop to enter modern standby, therefor no memory leak happens. You can test this with powercfg /sleepstudy and see a 0% HW DRIPS state when this is not working, ergo no modern standby happening.

Never using hibernate, fast startup and/or modern standby after a reboot, and the issue wont ever happen. Every modern standby or hibernate usage has a chance to trigger the issue.

I am using latest 27.20.100.9466 with dGPU turned of, which allows c10 states, but not DRIPS state, which is fine for me, because I am just using the laptop on power cord, so this is a workaround for people who wont use the laptop on battery.

So people not using standby at all with their laptop wont ever see this issue happening, who just shutdown their laptop every day and reboot it.

This might also the reason why Intel "couldn't reproduce it", because they obviously didn't use standby or not long enough in between testing periods.

If you just reboot the laptop and wont ever use standby or hibernate in between, this issue wont ever happen.

So this might not be an Intel driver bug at all, but 100% a Windows bug. Also why there are no reports with Nvidia/AMD GPUs because there is no modern standby on desktop.

Bryce_Intel
Moderator
2,260 Views

@HKlum Cool thanks! I'll pass this along to the Dev that's working on it. Hopefully this helps them focus on the right area for root cause. Stay tuned...

DominatorNW
Novice
2,213 Views

Thank you for your help but the only thing that works for me is to finish the Windows process and wait for it to go up slowly... I had to increase my RAM to 32GB because that process just consumes everything!!!!!  

If this continues i change to a amd laptop sorry intel  I loved you but not now 😪😪😪

Serene
Novice
2,186 Views

I assume using "restart" (actual restart, not hibernate, sleep or shutdown) doesn't fix your issue so I'm going to give you the official steps to reverting the driver back to something more stable, 'cause people deserve to be able to use their computers with some stability! 


First: 

How to Disable Automatic Driver Downloads on Windows 10
  1. Right click the Start button and select Control Panel.
  2. Make your way to System and Security.
  3. Click System.
  4. Click Advanced system settings from the left sidebar.
  5. Select the Hardware tab.
  6. Press the Device Installation Settings button.
  7. Choose No, and then press the Save Changes button.



Second:
(Copied from Reddit thread about this issue)The Intel HD drivers are at fault. As I was recomended in the comments below, download the intel HD 24.20.100.6286 drivers, download Wagnard's DDU, install it, boot in to safe mode and use it to remove the intel drivers, reboot as recommended and install the intel drivers, restart, shut down, then boot in to Windows normally a your issues should be solve. 

OgUrecheK
Beginner
2,060 Views

A similar problem, sometimes the process uses less than 1 GB, and in rare cases it can take all the free memory.
Basically, the process consumes 50-150 MB.

 

Laptop: MSI GS65 8RE

Intel(R) UHD Graphics 630 -> 27.20.100.9466

NVIDIA GeForce GTX 1060 -> 27.21.14.6627

OS: Win10 Home x64 ver. 20H2 build 19042.985

 

MrX1980
New Contributor I
1,936 Views

Info:

Announcing Windows 10 Insider Preview Build 21382 | Windows Insider Blog

Fixes
- We fixed a memory leak that could result in DWM unexpectedly using a lot of memory over time.

 

So I will check this the next days.

 

Ximik
Beginner
1,634 Views

Thank you for info about build 21382. It looks like the leak is gone. The memory used for 16 hours was in the range of 550 MB +- 50 MB, but sometimes it rose to 1 GB.  (When turning off the second monitor, used memory dropped to 250MB).

But I don't ready use dev version and planning return to stabile. 

(Use the developer version at your own risk)

Ximik_0-1621156054250.png

 

Ximik
Beginner
1,430 Views

If someone also installs the developer version, could you upload the new version of dwm.exe?

MaxHugen
Beginner
1,355 Views

Well I sure hope either MS or Intel sort this out! 

I just received a Dell G7 7700 laptop, and was shocked to see DWM hitting 2Gb in Task Manager.   Now I'm wasting hours of my time wading through 7 months of comments at MS and Intel forums looking for a fix.

Unbelievable! 

MrX1980
New Contributor I
856 Views

With Windows 10 Build 21382 and Intel graphic driver 30.0.100.9559 I still see spikes around 550MB. That is 500MB too much.
(Lenovo Yoga 710-14IKB Type 80v4 / BIOS v2.12 / i5-7200U / HD 620)

Win10_21382_DWMBug_01.png

1,649 Views

Same issue; been while. I'd like to add sth. I'm afraid this is off-topic, but I thought these might be related:

When I put the notebook into hibernate, I'll get "DPC_Watchdog_Violation" error, right after turning it on.

When hibernation is enabled in control panel: power options, even when I shutdown the PC, error happens at startup again.

Error won't show up if I disable hibernate in power options.I struggled so much to solve the issue w/o disabling hibernate, But couldn't.

Serene
Novice
1,497 Views

I'm going to have you run a few things and see if it you still get the DPC_Watchdog_Violation bluescreen if that's okay. 

Go to search (right click start and click search) 
Type in CMD, right click it and run as administrator 
Enter the following: DISM.exe /Online /Cleanup-image /Restorehealth
Let that run and finish

Then do the following
Go to search (right click start and click search) 
Type in CMD, right click it and run as administrator 
Enter the following: sfc /scannow
Let that run and finish

SFC might list errors which I want you to google how to fix them if you get any. 

Then try and see if you get the watchdog bluescreen? 

SaladCesar
New Contributor I
1,463 Views

Hi everyone,

I just added 2 new DWM dumps to my collection, for a total of 14 dumps from my PC now.

The link is still the same : https://1drv.ms/f/s!AhNGmCtr4NeUpKAfbIiKziUjkcFBrA

Those new dumps were taken when the problem was clearly present, with DWM taking up to 4gb of my RAM. I only have 8, so that was a huge problem. My PC is a LENOVO Legion Y530-15inch-1060.

I think that I gave enough of my time and my dumps to intel now, there is nothing left I can do. My job is done, their turn now.

I sincerely hope they will do something one day for this issue, this is getting more and more incapaciting every day.

I also hope that Intel will tell me when they have downloaded my dumps, because I can't keep that on my limited onedrive space forever.

Thanks for having read me, and have a great day everyone.

Stefan3D
Honored Contributor II
1,375 Views

Driver 27.20.100.9565 has native GPU support (w/o subsys_ids) in spite of being hosted at DELL.

Newer build than in Windows dev channel, maybe worth a try...

Johnny2
Beginner
1,316 Views

coming with great news guys. I just fixed the problem 
first of all I downloaded a program called Driver Store Explorer that I used to completely delete all the graphic drivers  and then I installed the latest drivers version 27.20.100.9466 and the problem was automatically fixed. a few hours later Windows started downloading display driver in the windows update and after installing the update my intel driver went back to 27.20.100.89xx and the problem was back again, I tried installing the newer driver but the problem is still there so I reused the program Driver Store explorer and deleted all inel graphic drivers and installed the latest and it's fixed again. so I stoped the windows update for the time being until Microsoft find a fix for this

HKlum
New Contributor II
1,307 Views

@Johnny2 That is totally nonsense. Like said countless times on this thread. The issue isnt just happening on its own. You can reboot the laptop, and have not a single leak over 10 hours using the laptop, watching videos all day in Chrome. No leak. Or even for days, if you never suspended the laptop in between.

You have to more see it like this, that some event happens, and that event causes a broken behavior of dwm, afterwards the leak to happen, until you reboot Windows.

And that event is mostly connected to standby or/and hibernate.

Like said countless times on here, no 9466 doesnt fix the issue.

The only hope so far is the insider fix of last days mentioning a fix of dwm memory leak. Unfortunately that is for 21h2 and not 21h1 it seems, which would mean, no fix until late of 2021 maybe around October.

DDU is the way to remove all older drivers: https://www.guru3d.com/files-details/display-driver-uninstaller-download.html

Reply