Microsoft
Visual Studio
Visual Studio
  • Home
    • Problems
    • Suggestions
  • Downloads
    • Visual Studio IDE
    • Visual Studio Code
    • Azure DevOps
    • Team Foundation Server
    • Accounts and Subscriptions
  • Subscriber Access
      • Microsoft 365
      • Azure
      • Office 365
      • Dynamics 365
      • SQL
      • Windows 10
      • Windows Server
      • Enterprise Mobility + Security
      • Power BI
      • Teams
      • Visual Studio
      • Surface for Business
      • AI
      • Internet of Things
      • Azure Cognitive Services
      • Quantum
      • Research
      • Docs
      • TechNet
      • Developer Network
      • Windows Dev Center
      • Windows IT Pro Center
      • FastTrack
      • Partner Network
      • Solution Providers
      • Partner Center
      • Cloud Hosting
      • Education
      • Financial services
      • Government
      • Health
      • Manufacturing & resources
      • Retail
      • Security
      • Licensing
      • AppSource
      • Azure Marketplace
      • Events
    • View all
    Sign in

    Developer Community

    Get help from our community supported forum
    • Home /
    • TFS /
    Searched and didn’t find your feedback?
    • Visual Studio
    • Visual Studio for Mac
    • .NET
    • C++
    • Azure DevOps
    • TFS
    or
    • Visual Studio
    • Visual Studio for Mac
    • .NET
    • C++
    • Azure DevOps
    • TFS
    Visual Studio
    Visual Studio for Mac
    .NET
    C++
    Azure DevOps
    TFS
    3

    Git for Windows high CPU during build with lightweight solution load enabled

    windows 10.0visual studio 2017 version 15.3git

    avatar image Bart Verkoeijen reported Sep 20, 2017 at 07:10 AM

    thub.nodes.view.add-new-comment
    Add comment Show 5

    Add Comment

    10 |10000 characters needed characters left characters exceeded
    avatar image Bart Verkoeijen · Sep 20, 2017 at 07:13 AM 0
    Share
    git-high-cpu.png (43.5 kB)
    git2.png (87.4 kB)
    avatar image Bart Verkoeijen · Sep 20, 2017 at 07:26 AM 0
    Share
    avatar image Kayla Ngan [MSFT] · Sep 20, 2017 at 01:18 PM 0
    Share
    avatar image Kayla Ngan [MSFT] · Sep 20, 2017 at 01:18 PM 0
    Share
    avatar image Kayla Ngan [MSFT] · Oct 03, 2018 at 02:27 PM 0
    Share

    Solutions

    · Add your solution
    0

    Solution by avatar image Bart Verkoeijen · Sep 20, 2017 at 07:51 AM

    Reading up on similar issues on this thread I found a solution that worked.

    https://developercommunity.visualstudio.com/solutions/56071/view.html

    The problems go away by disabling the Lightweight Solution Load that seems to have been auto-selected to a new option "Let Visual Studio choose what's best for my solution".

    Now when loading the solution I only see a few short times the Git instances popup, but no longer during builds.

    thub.nodes.view.add-new-comment
    Add comment Show 1 · Share

    Add Comment

    10 |10000 characters needed characters left characters exceeded
    avatar image Bart Verkoeijen · Sep 20, 2017 at 10:35 AM 0
    Share
    0

    Solution by avatar image Andrew Hallendorff · Jul 22, 2018 at 08:36 PM

    Here's my spin on the problem. Somehow the MS version of Git is screwing up its indexing of the get repos. I found that if I close everything delete the .vs and .git files in the highest git enabled directory. It went away. It could be that those were just the directories that MS Git was messing up on, but it fixed it. I'm basically saying the .git and .vs that cause problems for others could be in different directories.

    thub.nodes.view.add-new-comment
    Add comment · Share

    Add Comment

    10 |10000 characters needed characters left characters exceeded
    Follow

    67 People are following this

    Related Problems

    Git "View History" doesn't work
    0 Solution

    Branches List appears in display different from main display.
    0 Solution

    clone git repo not work
    0 Solution

    Pulling a github repo via posh git (so not in VS) crashes VS...
    0 Solution

    Cannot drag work-items to reparent them in query tree view - this is a regression
    0 Solution

    click a solution from TFS then build, nuget error
    1 Solution

    Launching VS with Source Control Explorer open (TF30063: You are not authorized to access...) after upgrading to VS2017 15.3
    2 Solution

    Source control: adding a Solution/Project to a TFS is a MESS, every time VS add the Solution to a local GIT!!!
    1 Solution

    Asynchronous checkout in server workspaces
    0 Solution

    [NOTFIXED] Team Foundation Server 2015 power tools install is broken
    1 Solution

    What's new

    • NEW Surface Pro 6
    • NEW Surface Laptop 2
    • NEW Surface Go
    • Xbox One X
    • Xbox One S
    • VR & mixed reality
    • Windows 10 apps
    • Office apps

    Store & Support

    • Account profile
    • Download Center
    • Sales & support
    • Returns
    • Order tracking
    • Store locations
    • Support
    • Buy online, pick up in store

    Education

    • Microsoft in education
    • Office for students
    • Office 365 for schools
    • Deals for students & parents
    • Microsoft Azure in education

    Enterprise

    • Microsoft Azure
    • Enterprise
    • Data platform
    • Find a solution provider
    • Microsoft partner resources
    • Microsoft AppSource
    • Manufacturing & resources
    • Financial services

    Developer

    • Microsoft Visual Studio
    • Windows Dev Center
    • Developer Network
    • TechNet
    • Microsoft developer program
    • Channel 9
    • Office Dev Center

    Company

    • Careers
    • About Microsoft
    • Company news
    • Privacy at Microsoft
    • Investors
    • Diversity and inclusion
    • Accessibility
    • Security
    English (United States)
    • Sitemap
    • Contact us
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2018
    • Anonymous
    • Sign in
    • Spaces
    • Visual Studio
    • Visual Studio for Mac
    • .NET
    • C++
    • Azure DevOps
    • TFS
    • Explore
    • Topics
    • Problems
    • Features
    • Users
    • Badges