vscode: vscode freezes every 3-5minutes randomly

Version: 1.56.2 Commit: 054a9295330880ed74ceaedda236253b4f39a335 Date: 2021-05-12T17:44:30.902Z (2 wks ago) Electron: 12.0.4 Chrome: 89.0.4389.114 Node.js: 14.16.0 V8: 8.9.255.24-electron.0 OS: Darwin x64 20.5.0

remote ssh to linux host.

only extensions installed: remote-ssh, c/c++

Log (Window) shows this:

[2021-05-26 19:46:58.540] [renderer4] [warning] {}
[2021-05-26 19:47:03.024] [renderer4] [warning] {}
[2021-05-26 19:48:00.725] [renderer4] [error] Maximum call stack size exceeded: RangeError: Maximum call stack size exceeded
    at l._entries (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:62:7277)
    at l._entries (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:62:7296)
    at _entries.next (<anonymous>)
    at l._entries (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:62:7383)
    at _entries.next (<anonymous>)
...

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 2
  • Comments: 54 (37 by maintainers)

Commits related to this issue

Most upvoted comments

For exclude patterns I typically recommend to use **, so for example **/pycache/** should also work.

I’m connected to linux box w/ “remote - ssh” plugin - the killer feature of vscode. The slowdown though is on UI side of vscode.

i read through that bug. Looks like files.watcherExclude has a bug, b/c adding ‘/’: true fixed it, even though i had it set up like this before (which should have taken care of bazel-: “files.watcherExclude”: { “/.git": true, "/pycache/”: true, "/mypy_cache/": true, "/bazel-": true, “vendor/”: true, “**/bin/”: true } Thank you so much for the help Benjamin, / worked like a charm to disable watcher.

@bpasero the change looks good, thanks for doing it 👍

@jrieken what i used to repro the issue: Version: 1.57.0-insider (Universal) Commit: a62df5d6c53e844bfdc50694f943c3f34b6ff50e Date: 2021-06-03T17:36:36.265Z (22 hrs ago) Electron: 12.0.9 Chrome: 89.0.4389.128 Node.js: 14.16.0 V8: 8.9.255.25-electron.0 OS: Darwin x64 20.5.0

it’s reproducible every time i compile the code (run that task).