2
I have noticed on several Windows 7 machines that Windows updates and Windows driver search can cause svchost.exe to consume excessive amount of RAM.
In the case of Windows updates, it seems that all the updates get downloaded to RAM, cached, and then you experience the joy of installing them while the machine is operational, and again at reboot. I have these machines set to never download, update, or notify the user of updates, because svchost.exe, TrustedInstaller.exe, and wau...exe all go haywire under any other setting. svchost.exe will still consume the massive amounts of RAM under any of other the options for Windows updates. Therefore, I now manually check and install updates once a week.
in the case of Windows driver search, when you plug in a new device, Windows will consume an excessive amount of RAM while it's probing, analyzing, and downloading a driver for the device. The most prominent example is when I attempted to connect a 3TB drive to a machine. My laptop was not able to connect to the device. It was a Core i7 with 4GB of RAM. I plugged the drive into a desktop with 16GB of RAM. I don't recall if this machine had crazy RAM usage trying to cess out the drive. However, the laptop got an upgrade to 12GB of RAM, so I connected the drive to it. RAM usage for svchost spiked to 3GB. I've seen similar, but not as extreme, behavior almost any time I plug in a new device.
These machines are all Core i7s of some variety with 12GB of RAM and up. Not light specs, though maybe that's only average for 2015?
I have researched this phenomenon before, and while I have found many people asking similar questions, I have not found solutions to the problem.
Is there a way to mitigate this behavior?
Relevant links:
Windows 7 SVCHOST consumes copius RAM when searching for drivers
Windows 7 checking for Windows Updates cause memory use to blow up
Automatic driver search & update on Windows?
Windows 7 driver search woefully slow
How do I troubleshoot high 'svchost.exe' usage in Windows 7?
How I analyzed svchost high CPU utilization problem
1I have never seen this. Are you sure it's not caused by a faulty driver present on both machines or some software that you have installed? – gronostaj – 2015-07-20T15:04:55.293
@gronostaj: Oh, it happens and is quite well known issue. It even got it's own fix from Microsoft (as I noted in answer below). However, certain conditions must be met, so you may have not encountered it. – AcePL – 2015-07-20T15:21:19.253
@Moab; I'm not having high CPU usage, I'm having high RAM usage. Thanks for the link, but that doesn't address the problem. – YetAnotherRandomUser – 2015-07-20T15:57:20.810
I will assume it is high disk access rather than memory usage that is bogging down the PC. Memory is super fast as long as you have enough, which seems you do. – Moab – 2015-07-20T16:16:36.010
@allanonmage have you installed the update? Does it fix your issue? – magicandre1981 – 2015-07-22T04:27:54.707
1It wouldn't hurt to run a chkdsk /f and an sfc /scannow. Though the likely fix, as noted below, is recently-released KB3050265 – Bigbio2002 – 2015-07-27T13:49:15.010