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
- print trace for potential cycle, https://github.com/microsoft/vscode/issues/124723#issuecomment-850674813 — committed to microsoft/vscode by jrieken 3 years ago
- print trace for potential cycle, https://github.com/microsoft/vscode/issues/124723#issuecomment-850674813 — committed to microsoft/vscode by jrieken 3 years ago
- Squashed 'lib/vscode/' changes from cfa2e218100..2064d4c301c 2064d4c301c fix issue reporter unit tests d99a697eb52 Fix #125503 b098b10a77e Merge branch 'notebook/dev' into main a57e41b7a43 notebooks:... — committed to coder/code-server by deleted user 3 years ago
- Revert "print trace for potential cycle, https://github.com/microsoft/vscode/issues/124723#issuecomment-850674813" This reverts commit 692fb8ab211c65a06d17c452106447ea590386d9. — committed to microsoft/vscode by jrieken 3 years ago
- file change event - remove some unused methods (#124723) — committed to microsoft/vscode by bpasero 3 years ago
- don't use recursion for _entries, https://github.com/microsoft/vscode/issues/124723 — committed to microsoft/vscode by jrieken 3 years ago
- file watcher - avoid array creation when iterating over events (#124723) //cc @isidorn — committed to microsoft/vscode by bpasero 3 years ago
- feat(vscode): update to version 1.57.0 (#3544) * Squashed 'lib/vscode/' changes from cfa2e218100..2064d4c301c 2064d4c301c fix issue reporter unit tests d99a697eb52 Fix #125503 b098b10a77e Merge ... — committed to coder/code-server by deleted user 3 years ago
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).