12

I have windows 7 with 4GB of RAM. When the system starts from a fresh boot I start with about 33% usage. However, if I walk away with my PC idle for a few hours, or over night, my PC typically climbs to the high 80s or even over 90% usage (once, it got as high as 98%!).

The biggest commit is usually SVCHost.exe at around 500MB. My sidebar.exe process also tends to climb to about the same number.

This is a new development since upgrading to Win7 SP1, and I'm not finding much info about it on the internet. Has anyone else encountered this problem?

Edit It is causing severe performance issues when I come back to the PC. I have to reboot to get the memory back.

Edit 2: Tagged as "service-pack". This issue did not occur until SP1 was installed, so I'm wondering if that may be the root cause.

Moab
  • 58,769

5 Answers5

6

It's only a problem if that memory is unavailable for other tasks when called on. Just because it's used now doesn't mean can't be released quickly when needed, and in fact leaving the memory unused would be the real waste.

As a side note, this is another difference in the way that Windows and Linux use memory. On a linux system, this would be a little more worrying because swap is just used as a last resort. Nothing is swapped unless absolutely necessary, and so Linux would have to first take the time to write used RAM to the swap partition before it could be reclaimed for other programs. Windows, on the other hand, likes to keep all RAM paged all the time. This way, if it needs to use RAM to use for another process it is already paged to disk, and so it can be reclaimed much more quickly. It's a tradeoff - Linux is faster in this respect for RAM that will never be paged/swapped, and Windows is faster in this respect for those times when you need to swap quickly.

Joel Coehoorn
  • 28,637
2

Disable the sidebar process. It's known to leak a lot of memory (although it's more likely the add-ons that it hosts that are probably causing the resource leaks).

Suggestion: Upgrading to 8 GBs of RAM is better if your motherboard can support this since Windows Vista and Windows 7 both do consume a lot of memory, and the newer applications also seem to be using more RAM these days as well.

2

Are you saying biggest memory usage is 5MB ? For me svhost.exe takes 180mb of memory and firefox with running few tabs takes around 500mb. Can you check what's really the usage of memory and let us know ? Does it have SQL Server installed? SQL is known to eat everything alive depending on what type of databases you may have them for development.

Anyways get Process Explorer, sort your processes by Private Bytes and see what's taking all the memory app.. or maybe you have lots of processes that together make it eat all memory available. You need to check that.

MadBoy
  • 2,861
2

With Process Explorer, you can hover the scvhost.exe process to see what services it hosts.

If you need to troubleshoot this in detail, Microsoft Sysinternals VMMap can help you do this.
It allows you to inspect what memory is mapped and could allow you to identify the specific service...

enter image description here

enter image description here

enter image description here

Gareth
  • 19,080
0

I have the same problem - apparently, it's a memory leak in sidebar caused by IE9. Here's more info.

There are two fixes I'm aware at this moment: there is a hack which restarts sidebar from time to time, and a more permanent solution is to uninstall IE9.

Domchi
  • 2,789