You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The extension calls git commands that can take a very long time (eg more than a day) and keep them running. This shows as a large amount of git processes running on the background each using 100% of the CPU.
Could we add timeouts to these?
What triggered this for me was checking out a huge repo with a tree filter and then blaming a file:
# Clone huge repository with a filter
git clone --filter tree:0 https://github.com/DefinitelyTyped/DefinitelyTyped
and then blame a few files with the extension to reproduce.
Can we add a timeout to git commands?
GitLens Version
15.0.3
VS Code Version
No response
Git Version
No response
Logs, Screenshots, Screen Captures, etc
No response
The text was updated successfully, but these errors were encountered:
I am also experiencing issues with GitLens. At first I blamed microsoft/vscode#213136, but after disabling GitLens, the CPU usage immediately went down.
However, running strace on the evil process does not show it spawning tons of git processes, so I really do not know why GitLens has been frying my CPU for nearly half a year now (until I figured out, today, that it is the culprit).
The issue is not that it keeps on spacing processes. The issue is that at since point it so prawns processes that stay running for a very long time. For me it was obvious by looking on the output of ps aux
Description
The extension calls git commands that can take a very long time (eg more than a day) and keep them running. This shows as a large amount of
git
processes running on the background each using 100% of the CPU.Could we add timeouts to these?
What triggered this for me was checking out a huge repo with a tree filter and then blaming a file:
and then blame a few files with the extension to reproduce.
Can we add a timeout to git commands?
GitLens Version
15.0.3
VS Code Version
No response
Git Version
No response
Logs, Screenshots, Screen Captures, etc
No response
The text was updated successfully, but these errors were encountered: