This is a read-only archive. No new posts or registrations. Privacy Page Still need help? Ask the volunteers at Geeks to Go, free.
Software

Windows 7 random memory spike

13 min read

This thread's last reply is from . Advice, software, and links below may be out of date — treat specific steps and download links with caution.

LOL I bought the rig from cyberpower a few years ago but its I replaced alot of stuff since then. Its basically can be considered to be built by me atm. Ill send u the old parts 3-4 years later and u can enjoy them then cause its gonna be a totally different rig by then lol. Not even 3-4 years maybe next year or so when intel ivy and gtx 600 series comes out. :D
Worth a shot.

Try disabling one of your Browsers (I'd choose Google Chrome) and disable all add-ons in Firefox (if any) as a lot of them are poorly written software that can cause problems.

If no joy there, I'm running out of ideas so lets try this:

Start / Run / type in msconfig / General tab / mark Diagnostic Startup / apply / OK / reboot
See if the problem is still happening now.

And really, Half Life 2? That game at least can probably come out as it has to be almost 10yrs old :rofl:

PS Edit.
Something my wife Zoe mentioned as a possible cause: Make sure you have a paging file (it can happen) and if it is set to a "custom size", change it to "system managed size" and then reboot.
None of that worked, as for diagnostics mode I can't test it cause I only know 2 ways to trigger it, while downloading a torrent or uploading something to youtube. Diagnostics mode doesn't allow for internet access.
Basically something very similar -
msconfig / Services / Tick "hide all Microsoft services" check box / disable all / Apply / Ok /reboot

No uploading or Internet problems now.
Yhe only thing that can track this obscure behavioral problem down (that I know of) is Process Explorer.

That said, to use it adequately is not so easy and takes a bit of study. See an example of it's use here.
Take a look at what I found with process explorer. This looks very unnatural. So i triggered the memory spike and went to process explorer. The max working set memory for dwm.exe is over 2gb. This stood out to me, nothing is this big. I uploaded all of the processes during the memory spike and a picture u can take a look at as attachments. EDIT: actually it seems to always have that max memory set so IDK if thats the issue. I just restarted too see if had the same value and it does while there is no memory spike. Check the text file tho to see if there are other issues. I thought it would make sense for that to be the problem because normally my pc uses over 1gb anyways so if that process is the issue it woult make sense, its 2gb 2gb + 1.3gb or whatever would come out the 98% or whatever huge number in the 90's i get during the memory spike.
Desktop Window Manager (dwm.exe) which you can also see in Task Manager, can use a lot of RAM - All those desktop effects available in W7!

The number of windows that you have open also greatly effects DWM, as each window requires a memory buffer to store the window's content. For starters, I'd switch to "Windows Basic" to get rid of the transparency effects (uses a lot of RAM) and turn off any other special effects not needed.

Your video card is naturally capable of having all the desktop bells and whistles you want going, but your ram (depending on what your doing) is going to suffer with spikes.

DWM can be disabled which will put you desktop into W7 basic theame but it will also disable a lot of other handy desktop items and usages, so be sure you want to disable it first. It can always be enabled again.

Start / right click My computer / manage / services / scroll down to "Desktop Window Manager Session Manager" / right click it / properties / disable / and "stop this service".
I really doubt that the graphical effects are whats causing this issue. I can run games maxed out with no problems. This ram issue is not due to performance my pc can handle this kind of stuff. If it couldn't I would have problems the moment I install windows. The issue with the ram started a couple of weeks ago. The problem happened before but I have to reinstall windows everytime, after that its good for a few months and then the problem returns. IDk if its some ms update that messes up or something gets installed.
If DWM is responsible for the RAM spiking (running games has nothing to do with DWM, it's basically doing nothing when running a game), it is because something on your desktop is happening to cause it and as I'm not in front of it, I have no idea. Sorry to have not been more helpful, but I can think of nothing else that would cause the issue. Cheers, Lee
Well do you think its DWM causing the issue? Cause I am not certain I just thought it looked weird. What is the value of DWM on your windows 7 machine? is it similar to mine? I am talking about the max working set value. PS: You have been helping as much as you can. thanks!
Guess I will have to reinstall windows again :(. I ordered 4 gigs of ram, the problem might come back but it will take 50 percent of ram next time instead the 95 percent cause of additional ram. Needed more ram for bf3 anyways so whatever. Thanks guys for your help.
If your running a 64 bit OS, more RAM is a good idea, but if your running a 32bit OS more RAM won't make the slightest difference as 32bit can't utilize a full 4GB of RAM let alone more of it.

A good idea would be to to organize your HDD into two partitions. Call the second one DATA and use that to store a mirror image of your newly set-up OS.

Macrium Reflect free is what I use and it is both simple and very reliable.
Next time you are having any problems, boot to the disk that Macrium Reflect advises you to create when you install the program and use that to restore your mirror image onto C: drive. A lot faster and less hassle than re-installing your OS.

Cheers,
Lee

Still having this problem?

This topic is from the What the Tech archive and can't take new replies. Geeks to Go is an active, free help community run by volunteers. Post your question there and a person, not a bot, will work through it with you.

Ask on Geeks to Go →