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

237 Replies
smithy
Novice
4,343 Views

smithy
Novice
4,335 Views

Now at 627mb ram use and counting...

Got to be security implications as well with this memory leak...

If i look at the strings within each address I see loads and loads of them with just the string "cqTY"

smithy_0-1606243351035.png

 

smithy
Novice
4,287 Views

@AndrewG_Intel 

Can you please see previous posts?

RonaldM_Intel
Moderator
4,279 Views

Hi everyone,

Thank you for all your input. I am still trying to replicate the issue and used the same hardware as before and this time setting up a VM with VirtualBox and running Ubuntu while making sure hardware acceleration is enabled in the VM... bad news is that I'm still unable to see the issue. 

Can you upload your SSU files? this information should help us identify what could be triggering the issue on some systems but not on all.

Regards,

TurboTacho
Novice
4,250 Views

You could try creating a few photo slideshow with music with the Microsoft Photos application, that caused my DWM to "inflate" into a massive memory leak.

 

I've also re-attached my SSU files for your convenience.

 

Cheers

validate
Novice
4,477 Views

I also have that leakage bug with just UHD 620, without NVIDIA card.

Rootless
Beginner
4,416 Views

I'm using an HP Spectre x360 with an i7-8705G processor and am experiencing this bug too with 27.20.100.8783.  No NVIDIA here.

Przemyslaw
Novice
4,394 Views

I got it! After couple of days of running Performance Monitor (standard Windows tool) focused on dwm.exe process, now I know what causes the rise of the memory consumption.

In my case, it is running Oracle Virtual Box 6.1.16 (the newest, but internal VBox additions are 6.1.12) with linux virtual machine (kernel 4.15, LinuxLite distribution), VMSVGA graphics adapter and 3D acceleration enabled.

After the reboot, the usage was 150MB and it was stable for 2 days. Today I ran VirtualBox and it immediately increased to ca 400MB. I ran it again and now it is 600MB. It is NOT released upon closing VirtualBox. This behavior seems to be reproducible. Ran for the 3rd time, and now it is 730MB.

I know, it looks like Oracle is to blame in my case, because it is not very probable that other affected users also run VirtualBox. However, I suppose it may have something to do with applications that use 3D hardware acceleration.

Rootless
Beginner
4,372 Views

I don't have Virtual Box installed, and it still happens to me.

smithy
Novice
4,365 Views

Hi,

Getting the same bug, HD630 plus nvidia 1050ti on laptop.

DWM.exe gets to 3-4gb

Could someone use this to find the leak and tell intel:

https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/using-umdh-to-find-a-user-mode-me...

Really annoying as it eats into ram use.

need a fix soon please.

 

 

3,664 Views

@AndrewG_Intel Hey, I have generate a compare log according to  @smithy 's link, also a SSU log, hoping it will help in debugging.

3,651 Views

@RonaldM_Intel Also a right tagging and another comparing results.

smithy
Novice
3,642 Views

it would be great to get a hotfix/driver update for this asap.

smithy
Novice
3,636 Views

Przemyslaw
Novice
4,237 Views

Here are my SSU logs.

Further observations about the case of VirtualBox: the memory usage did not stop increasing when I closed the virtual machine. It keept increasing continuously since then. I restarted the system when it reached 3GB, now stays at 150MB for more than a day. 

Vivisector
Beginner
4,112 Views

I've had this issue as well. In the process of downgrading my driver since nothing else has worked. I also want to note that the new XBox App and Steam seem to slam DMW and cause its memory usage to increase a lot. I don't think they're at all related to the bug but using the Xbox gamepass app and then closing it out to see if DMW clears may be a more reliable test to see if there's a leak.

Vivisector
Beginner
4,101 Views

Okay, using DDU and then installing the 24.20.100.6286 drivers seems to have done the trick.

MrX1980
New Contributor I
3,398 Views

Hi to everyone.
I saw this problem about 3 months ago an reported it via Feedback-Hub (https://aka.ms/AA9ibru) & Twitter (https://twitter.com/MrX_1980/status/1299693776622047233) to Microsoft.

Sadly I still have no repro, but I'm still searching for a good repro for you.
I noticed it for example after a longer usage of many Youtube clips (switching many times between full screen and normal screen, likes and adding clips to my playlists) with Microsoft Edge Stable (Chromium) and using other programs like WhatsApp Desktop, Twitter Desktop App, ... . I also use sometimes standby/hibernate.

My temporary fix is to do a full Windows reboot (WIN + x -> Shut down or sign out-> Restart)

My Device:
Lenovo Yoga 710-14IKB Type 80V4 / BIOS Version 2XCN38WW(V2.12 / 2018)
DualCore Intel Core i5-7200U, Intel HD Graphics 620 (no other GPU)
LG Philips LP140WF7-SPB1 [14" LCD] (only Notebook display) / 1920 x 1080 at 60Hz 
1x 8GB DDR4 RAM at 1066/2133 MHz (SK hynix HMA81GS6AFR8N-UH) / 15-15-15-35 (CL-RCD-RP-RAS)

Currently I use:
Microsoft Windows 10 Home x64 Dev-Channel (build .21277.1000)
Intel graphics driver 29.20.100.9116 via Windows Update (With older drivers & Win10 dev builds that was released the last ~3 months too. I will try other drivers later this week.)

smithy
Novice
3,276 Views

@AndrewG_Intel  @Jose_V_Intel @Maria_R_Intel @Sebastian_M_Intel 

Can anyone please shed some light on whether this issue is being looked at / resolved with a new driver update please?

RonaldM_Intel
Moderator
4,167 Views

Hello everyone,

No progress has been made since we haven't been able to find a way to reproduce this issue in our lab using different platforms (laptops, NUCs with and without Hybrid graphics) and all the input you have provided so far.

I would recommend reporting this issue to Microsoft. Usually if they find a fault in the OS component (dwm.exe) linked with the Intel driver then they will work directly with Intel to address it.

Ronald M.

mamarley
Beginner
3,840 Views

I have this issue too on my NUC8i7bek (Iris Plus 655 graphics) with fully up-to-date Windows 10 and currently the latest beta driver 27.20.100.9077, though every driver version I have tried has been affected.  My system also has a 4K monitor (Dell U2720q, specifically).  The hardware is important here, because I cannot reproduce the issue on a NUC6i5syk (Iris 540) with a 1080p TV and the same driver and OS version.

I do have a method of reproducing this issue 100% of the time.  My system, for the record, has fast startup and hibernation both disabled, and I never use sleep.  It is configured to turn the monitor off (and lock the screen) after 5 minutes of inactivity.  If I press Win+L to lock the screen manually, the monitor shuts off within a minute or so.

To reproduce the issue, I reboot my system and log in.  Then I lock the screen and wait for it to shut off the monitor automatically.  Once it does, I press a key to turn the screen back on, log in again, and repeat the process.  The second time the monitor comes back on, if I perform almost any action, DWM starts leaking memory very rapidly.  This includes opening/closing windows, moving windows, scrolling within windows (browsers, both Firefox and Chrome, seem to make it leak the fastest), and watching videos within a browser all cause leakage.  Then, if I lock the screen again, wait for it to shut off, and wake it up a third time, it stops leaking RAM (though what was previously leaked is not freed).  The leakage will occur again after some number of additional monitor sleep cycles, but whenever it is leaking, a sleep cycle will temporarily stop the leak.

I have also found that if I use SysInternals RAMMap to "Empty Working Sets" followed by "Empty Modified Page List", the leaked RAM is freed.  This does not stop the leaking, however, if it was actively occurring.

Reply