0

I have a memory leak in the process svchost.exe on a Windows 7 machine. There are several of those process running with the same name of course. When I look at the services running there are 6:

  • Com+ Event System
  • Windows Font Cache
  • Network list
  • Network Store Interface
  • Secure socket tunneling Protocol
  • Diagnostic Service Host

I'm installing the hotfixes suggested in another post but I want to know if there is a way to find the service causing the issue in the future. I have been restarting them all but that doesn't help me figure out which one caused it.

Bonus!: Is there a way to free up all that Ram once it's been "eaten" up without restarting?

J. A.
  • 21

2 Answers2

0

The only way I can think of is to split the shared services into their own container by running sc.exe config ServiceName type= own (replacing ServiceName with the name of the service), restarting the services, and then find out which svchost.exe container still exhibits the memory leak. The service hosted through that svchost.exe container is the culprit.

Note that this does NOT mean there is a "memory leak". It could be that the service is legitimately increasing its resource usage. But this will identify that service, and AFAIK there is no real downside to splitting services into their own service host container other than slightly increased memory usage (someone keep me honest here).

codewario
  • 942
-2

Follow this guide here to solve the memory leak from svchost.exe. I suggest starting with solution two first.

Overview of Solution 2:

  1. Open Task Manager
  2. Go to processes tab and click 'Show processes from all users'
  3. Find svchost.exe, right-click and at the bottom choose 'Go to service(s)'
  4. Find highlighted services, figure out which are hogging your memory by stopping the service (Possibly dangerous) or Googling the service itself to see if it is critical to your PC (Safer)
  5. See if memory usage goes down to an acceptable amount