microsoft / microsoft/vscode-remote-release

High CPU usage in Remote Desktop process with WSL2 + Ubuntu

Open
#9,679 6 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
4.2k
Forks
469
Avg merge
1d 1h
Merged PRs (30d)
1

Description

  • VSCode Version: 1.87.2
  • Local OS Version: Windows 10 Enterprise 22H2
  • Remote OS Version: Ubuntu 22.04.4
  • Remote Extension/Connection Type: WSL (VSCode extension v0.86.0)

I am getting high CPU usage and an unresponsive 'explorer' sidebar in VSCode in a project with somewhat deeply nested directories (React, not Java ;). The 'loading' animation at the top of the sidebar frequently displays, and some files & directories fail to open at all.

Possibly relevant detail: my workstation is managed by a domain administrator and has Windows Defender Smartscreen enabled and locked.

At the times in which the explorer hangs (mostly when renaming, copying or creating files through the explorer) I also see high CPU usage for the Remote Desktop process on my machine but no significant activity from any Nodejs process within WSL:

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.