Hi,
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...
Link Copied
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.
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.
I don't have Virtual Box installed, and it still happens to me.
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:
Really annoying as it eats into ram use.
need a fix soon please.
@Cody Yes, seems like the non-dedicated GPU users are also having this issue as well.
Anyway, I've tried several ways to replicate this DWM issue in a much easier manner. Turns out it's actually possible in certain ways.
Earlier on I tried creating a few video projects via the Microsoft Photos app. The projects consist of a simple picture and video slideshow with music, about 8 to 12 minutes long each. The export process was sufficient to indicate and trigger the memory leak in DWM without delay. (I additionally confirm that Nvidia GPU wasn't activated during the exporting process at any time.)
End result: 17GB memory consumption after 4 simple video projects completed.
I've also noticed that in most occasions, this memory leak occurs when I use the 'Shut down' button in Windows, and then booting up the laptop. If I were to restart the system, the memory leak issue is briefly resolved for about 4-6 hours upon logging in.
I strongly believe the hybrid shutdown or Fast Startup might be one of the cause of this issue. Definitely it is frustrating when the leak isn't fully addressed, but could only be temporarily resolved through workarounds which may not be feasible in the long run.
So I ran VMMap by sysinternals on DWM.exe.
Started at 45mb, then 70mb, then 135mb, slowly creeping up.
I then did a hibernate/sleep, then powered up again, massive increase to 285mb. It seems that in the memory, the image data stays around 43mb, but the private data and heap are the culprits.
Not so much private data but the heap.
If you look at the screenshot below, it seems it keeps making strings in the heap of size 16,188kb.
The amount of instances of 16,188kb keeps increasing leading to DWM.exe taking up more RAM.
This is beyond my RAM/memory knowledge, but need someone to work out what is causing this increasing in commit, I assume its not flushing the old unused ram out, so keeps ever increasing...
Anyone knows how to do this? Intel surely knows how?
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"
Can you please see previous posts?
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,
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.
Okay, using DDU and then installing the 24.20.100.6286 drivers seems to have done the trick.
@AndrewG_Intel Hey, I have generate a compare log according to @smithy 's link, also a SSU log, hoping it will help in debugging.
@RonaldM_Intel Also a right tagging and another comparing results.
it would be great to get a hotfix/driver update for this asap.
@sandtechnology @AndrewG_Intel
Looking through you logs, I see constantly:
ucrtbase!malloc_base+36
ucrtbase!o_malloc+42
msvcrt!malloc+70
are the CRT leaks?
https://www.reddit.com/r/csharp/comments/i7mfyx/trace_c_library_unmanaged_memory_allocations/
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.)
@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?
For more complete information about compiler optimizations, see our Optimization Notice.