vscode: Endless CPU and memory occur in "node" when a symlink to / exists in the workspace

  • VS Code Version: 1.55.2 and the today’s Insiders.
  • OS Version: Ubuntu 20 (via WSL2).

Steps to Reproduce:

  1. Go to some folder via the command line.
  2. ln -s / ./test1
  3. Open the folder in VS Code (i.e. the folder should have a symlink to the root named test1).

Bug: Node starts using 200% CPU and memory keeps increasing (slowly). Even adding test1 to files.exclude doesn’t work. Using the Toggle Developer Tools->Performance logging shows no CPU usage.

Does this issue occur when all extensions are disabled?: Yes

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 22 (22 by maintainers)

Most upvoted comments

I didn’t see any endless loops. I thought I saw a noticeable CPU uptick but measuring again today I cannot confirm that. So all is fine.

Yes, no polling, “remote.WSL.fileWatcher.polling”: false