Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windows Update memory leak, and random CPU spikes

21 May 2015   #1
TheVicksKid

Windows 7 Home Premium x64
 
 
Windows Update memory leak, and random CPU spikes

Hey, so over the past few weeks my computer has been getting random CPU spikes, where there's only 3% being used but it says it's using 100% of it and freezes.

Windows Update memory leak, and random CPU spikes-77034705329f40fdcb12225e38109192.png

Windows Update memory leak, and random CPU spikes-eee96ab41c9b36d2285875b2593c2c8b.png

On top of this, Windows Update seems to be taking up a lot of memory - and I mean insane amount, I've seen it go up twice as high as in this screenshot. For now, I keep the service disabled rather than cripple my machine, but when it's enabled it's always when it's "Checking for new updates"

Windows Update memory leak, and random CPU spikes-792d0663f923348e053878191a29f5c3.png

After further investigation it seems like both of these problems are caused when I am doing something over the internet. The CPU problem happens when I'm downloading games off of Steam (as well as random things as well, but it always happens in that scenario) and the memory problem always happens when windows update is checking for new updates.

How do I fix this?




My System SpecsSystem Spec
.
21 May 2015   #2
GokAy

Windows 7 Ultimate x64 SP1
 
 

Hey, would you check Callender's posts at the end of svchost.exe (netsvcs) draining all my memory

maybe they will help
My System SpecsSystem Spec
21 May 2015   #3
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Had the same problem with roughly the same memory usage. In addition to the steps in the post mentioned it was also neccessary to remove Windows Update KB2990214. It might also be worth resetting Internet Explorer. (Tools > Options > Advanced > Reset > Reboot) You can get Windows Update Agent from here:

https://support.microsoft.com/en-us/kb/949104

Now I get memory usage like this and Windows Updates works.

Attachment 359819

Worth mentioning. If the fix doesn't work first time around you can try downloading the MS Fix It Tool 50202 that you can download from here:

https://www.winhelp.us/reinstall-windows-update.html

I found that it needs to be run anywhere up to three times with a reboot between each attempt before repairs are successful using aggressive options. Then proceed with the fix mentioned in the post Gokay linked. Then reboot and configure Windows Updates.

https://www.winhelp.us/configure-aut...n-windows.html

Reboot again and check for updates by choosing "Windows Updates" from the Start Menu > All Programs listin the first instance rather than via Control Panel.
My System SpecsSystem Spec
.

21 May 2015   #4
TheVicksKid

Windows 7 Home Premium x64
 
 

The thing is, I don't even have Internet Explorer on my computer so I can't reset it.
My System SpecsSystem Spec
21 May 2015   #5
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
No IE

Quote   Quote: Originally Posted by TheVicksKid View Post
The thing is, I don't even have Internet Explorer on my computer so I can't reset it.
You mean you've created a custom install of windows without IE? Or you've just hidden IE by turning it off in Windows Features?
My System SpecsSystem Spec
21 May 2015   #6
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

See this post from NoelDP - resident Windows Updates expert.

Strange behavior of Updates during recent installs

Now with all these problem updates over the last 6 months along with Windows 10 upgrade updates it would't surpise me if there were problems on systems without Internet Explorer.

Sorry but I can't help!
My System SpecsSystem Spec
21 May 2015   #7
TheVicksKid

Windows 7 Home Premium x64
 
 

I mean it's gone completely, but it should be there :S

Also, how exactly do I do this?

My System SpecsSystem Spec
21 May 2015   #8
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Well like I said I can't help if you don't have internet explorer. If you're trying those steps anyway you need to run Powershell from an Elevated Command Prompt which should open in C:\Windows\System32 - your screenshot shows the wrong directory and it should look like this:

Windows Update memory leak, and random CPU spikes-administrator_-elevated-command-prompt-powershell.jpg

Elevated Command Prompt opens at C:Windows\System32 = type powershell and press Enter.

To leave Powershell and go back to the command window to run other commands type exit whilst still in Powershell.

To close the window entirely type exit again.


My System SpecsSystem Spec
21 May 2015   #9
TheVicksKid

Windows 7 Home Premium x64
 
 

Thank you! It seems like the problem is fixed

However, the CPU spikes are still there randomly (only with Steam when downloading games, or downloading software)
My System SpecsSystem Spec
21 May 2015   #10
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
Svchost problem

Sounds like you've got other problems that I don't know much about. Are you saying that you still see high svchost usage? I don't know how you ran those fixes so fast including the reboots!

There's another option that I use to reset Windows Updates and clear Windows Updates history and temp files. It requires a reboot afterwards. You can try it if you like. Here's the details.

Download and install UVK installer.exe

Run the program by right clicking the desktop icon and choosing "Run as administrator"

Click the system repair button and scroll to the windows update fix and run it.

Any problems and it's possible to go through the whole process of fixing windows updates again.

Windows Update memory leak, and random CPU spikes-uvk-ultra-virus-killer.jpg

Note: I wouldn't mess about with the other UVK fixes unless you know that you've got the specific problem that they fix. It's safe to run the built in third party malware scans though.

Edit 2:

Note: Should add do not run Rogue Killer

Edit: After running the UVK Windows Update fix you again need to reconfigure Windows Updates via Start Menu > Program List > Windows Update and still need to run a check for updates once configured.

If you still get problems - as a temporary workaround you can try

Start > Run then type services.msc

Press Enter.

Stop Windows Update Service

Stop BITS

If Windows Update Service won't stop - restart Bits and try again. Then stop BITS.

Note: That's not a fix but it enables you to use your machine in the meantime.


My System SpecsSystem Spec
Reply

 Windows Update memory leak, and random CPU spikes




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Very bad memory leak windows 7 64 bit
Hello, about two weeks ago I started to have a memory leak, unfortunately right around the time wildstar came out. Just leaving my computer idle the memory just keeps piling on, to the point that if I leave it on over night and wake up the next morning, it's idling at about 90% usage and a constant...
General Discussion
Win 7 64 RAM filling up. Memory leak outside windows?
In the last week or so, I have to reboot my pc almost every day because the RAM usage gets up to 93% and I can't do anything, even launch taskmanager. When I've caught it before it was too full, I saw that almost nothing was listed as using RAM (system was at like 80MB). Essentially, RAM is "in...
Performance & Maintenance
Please help strange memory leak Windows 7 64bit
I cant wrap my head around this strange problem iam having so i shall try and explain it, so i noticed in the task manager that the physical memory (free) was dropping to about 3gb and cached was near 10gb, this happens every time and for the life of me i cannot find the problem. please bear in...
General Discussion
Battlefield Bad Company 2 memory leak on 64 bit Windows
I just reinstalled Windows 7, the 64 bit version (I was previously using 32 bit) and now when I play Bad Comapany 2, after a while (less than a minute) the game will just completely freeze up (sometimes the audio gets stuck and loops) and the whole computer is unresponsive for a minute or so......
Gaming
Windows 7 memory leak?
Hi there, This is maybe the wrong section, but I did not know which one to pick: I experience issues when I open directories with big HD movies in it (around 4-10GB). The media player loads fast (VLC, KMP, WMP) but the video never starts. After 5-10 secs, my computer starts to run very...
Performance & Maintenance
Windows 7 Memory Leak?
Has anyone noticed after their computer has been on for extended periods of time that they have no memory left. Initially after booting Windows 7 memory usage is at about 37% but after 10hours or so the memory usage is up to 93% (even with no visible user programs running) and im getting the...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:55.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App