Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

High memory usage by process 'microsoft.vshub.server.httphostx64.exe' while using Visual Studio 2015

The mentioned process has extremely high memory usage. Just after Visual Studio Update 3 I experienced the same issue and read that it was due to a memory leak within the application that hasn't yet been resolved. That time, the memory used sat at 2.5GB, this time, 7.7GB and it continues to climb even after rebooting. It hardly ever climbs this high even with two window instances of VS open.

The 'svcHost.exe' process too takes up a lot of resources and causes my pc to lag heavily (not visible in the screenshot below).

CPU and RAM Utilization by VS2015 processes

Even after killing the individual processes, they launch again with the same results. This issue has come up again after the recent Windows 10 update 'Cumulative Update for Windows 10 Version 1607 for x64-based Systems (KB3194798)' though I doubt that its the cause.

I would appreciate any suggestions in order to resolve this issue.

If its any use, here's a list of the recent Windows 10 updates that have been installed:

  • Windows Malicious Software Removal Tool for Windows 8, 8.1, 10 and Windows Server 2012, 2012 R2 x64 Edition - October 2016 (KB890830)
  • Windows 10 Version 1607 for x64-based Systems (KB3194798)
  • Windows 10 Version 1607 for x64-based Systems (KB3194496)
like image 642
Darshan Kassen Avatar asked Oct 14 '16 18:10

Darshan Kassen


1 Answers

This worked for me:

** The following may required you have administrator privileges on the box ***:

  1. close all instances of Visual Studio 2015
  2. Locate directory C:\Program Files (x86)\Common Files\Microsoft Shared\VsHub\
  3. Rename VsHub to VsHub-Suppressed

Once the above has been performed, Visual Studio 2015 will start noticeably quicker.

Source: https://connect.microsoft.com/VisualStudio/feedback/details/1610160/microsoft-vshub-server-httphostx64-exe

like image 108
Munir Avatar answered Sep 19 '22 13:09

Munir