Skip to content

WSL2 and Java causes git blame to hang #176

Open
@kropptrevor

Description

@kropptrevor

I can use the extensions fine for a time, but I've been encountering a problem where my VSCode instance will consume a lot of CPU and functionality will be reduced. Exiting VSCode completely and then restarting fixes it temporarily.

I had two windows open

  1. Git Blame + Java extensions
  2. Git Blame extension only

The problem showed up on only on 1.

Extension list 1:

vscjava.vscode-java-debug
waderyan.gitblame
vscjava.vscode-gradle
redhat.java
vscjava.vscode-java-test

Extension list 2:

waderyan.gitblame

status-before.txt
status-after.txt

Note that I ran the git blame incremental command that is showing up in the status and it completed instantly from the command line.


This causes side-effects like the following:
Source control hanging
source-control-hanging
Java language server hanging
java-hanging


Operating system: Windows
WSL/WSL2: Yes
Remote SSH folder: No
Remote folder with sync program: No
vscode version: 1.90.1
output from `git rev-list --all --count`: 535

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions