I now think the problem is with Git.exe instead.
Is it ok to install the latest version of Git?
Thanks,
Steve M.
Answer from Github forum:
Update on this issue. VS Code is one program that launches Git.exe. I uninstalled Git.exe from C:\ProgramFiles\Git\unins001.exe and I was able to use VS Code with no issues. I have not reinstalled Git.exe yet.
Original Post from Github forum:
Does this issue occur when all extensions are disabled?: Yes/No
yes
- VS Code Version: 1.63
- OS Version: Windows 10 21H1 (OS Build 19043.1387)
Steps to Reproduce:
- Launch VS Code
- Watch several thousand instances of "Git for Windows" processes in Task Manager lock the system with near 100% CPU and 100% memory. The "taskkill /im git.exe /t /f" fails to kill the processes in an elevated CMD. Clicking on the processes in Task Manager allows me to kill several of the Git for Windows processes long enough for me to restart the system before a total lockup. Restarting the system is the only way to use the system again.