Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
*caused-by-extensionIssue identified to be caused by an extensioninfo-neededIssue requires more information from postersearchSearch widget and operation issues
Description
Type: Performance Issue
This started today. Seems like there are a ton of ripgrep processes searching for the same file and after awhile it just kills my computer. I took me awhile ot even get the issue reporter to show.
VS Code version: Code 1.72.2 (Universal) (d045a5e, 2022-10-12T22:16:30.254Z)
OS version: Darwin x64 20.6.0
Modes:
Sandboxed: No
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off |
| Load (avg) | 12, 32, 38 |
| Memory (System) | 32.00GB (12.67GB free) |
| Process Argv | --crash-reporter-id 6457726b-96f4-4885-a7bf-c2565fbbbd8a |
| Screen Reader | no |
| VM | 0% |
Process Info
CPU % Mem MB PID Process
6 229 1429 code main
0 131 1441 gpu-process
0 33 1442 utility-network-service
1 197 1478 shared-process
0 66 1480 ptyHost
0 0 7166 /bin/zsh -il
0 66 9757 node /usr/local/Cellar/yarn/1.22.10/libexec/bin/yarn.js test src/components/licenses/assess/assess-license-row.test.tsx
0 33 9768 /Users/jeffreysims/.nvm/versions/node/v16.13.1/bin/node /Users/jeffreysims/contrast/contrast-superadmin-mfe/node_modules/.bin/jest src/components/licenses/assess/assess-license-row.test.tsx
2 0 9781 find /Users/jeffreysims/contrast/contrast-superadmin-mfe -type f ( -iname *.snap -o -iname *.js -o -iname *.jsx -o -iname *.ts -o -iname *.tsx -o -iname *.json -o -iname *.node )
0 33 7164 fileWatcher
1 0 9802 /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
1 426 7162 window (assess-license-row.test.tsx — contrast-superadmin-mfe)
1 426 7163 extensionHost
1 164 7185 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node --max-old-space-size=3072 /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /var/folders/11/4drh92r90s15cmnrpp9zczlh0000gn/T/vscode-typescript501/c17f237d2d6fb6027a59/tscancellation-74a9347d1d6010618a87.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
0 295 7186 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node --max-old-space-size=3072 /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --enableTelemetry --cancellationPipeName /var/folders/11/4drh92r90s15cmnrpp9zczlh0000gn/T/vscode-typescript501/c17f237d2d6fb6027a59/tscancellation-31d7f446e9f2d0b62206.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc
0 66 7203 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /Users/jeffreysims/Library/Caches/typescript/4.8 --enableTelemetry --typesMapLocation /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation
17 0 9731 /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg --files --hidden --case-sensitive -g **/assess-license-row.test.tsx -g !**/.git -g !**/.svn -g !**/.hg -g !**/CVS -g !**/.DS_Store -g !**/Thumbs.db --no-ignore --no-config --no-ignore-global
23 0 9732 /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg --files --hidden --case-sensitive -g **/assess-license-row.test.tsx -g !**/.git -g !**/.svn -g !**/.hg -g !**/CVS -g !**/.DS_Store -g !**/Thumbs.db --no-ignore --no-config --no-ignore-global
19 0 9734 /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg --files --hidden --case-sensitive -g **/assess-license-row.test.tsx -g !**/.git -g !**/.svn -g !**/.hg -g !**/CVS -g !**/.DS_Store -g !**/Thumbs.db --no-ignore --no-config --no-ignore-global
15 0 9735 /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg --files --hidden --case-sensitive -g **/assess-license-row.test.tsx -g !**/.git -g !**/.svn -g !**/.hg -g !**/CVS -g !**/.DS_Store -g !**/Thumbs.db --no-ignore --no-config --no-ignore-global
15 0 9736 /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg --files --hidden --case-sensitive -g **/assess-license-row.test.tsx -g !**/.git -g !**/.svn -g !**/.hg -g !**/CVS -g !**/.DS_Store -g !**/Thumbs.db --no-ignore --no-config --no-ignore-global
14 0 9737 /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg --files --hidden --case-sensitive -g **/assess-license-row.test.tsx -g !**/.git -g !**/.svn -g !**/.hg -g !**/CVS -g !**/.DS_Store -g !**/Thumbs.db --no-ignore --no-config --no-ignore-global
19 0 9738 /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg --files --hidden --case-sensitive -g **/assess-license-row.test.tsx -g !**/.git -g !**/.svn -g !**/.hg -g !**/CVS -g !**/.DS_Store -g !**/Thumbs.db --no-ignore --no-config --no-ignore-global
20 0 9740 /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg --files --hidden --case-sensitive -g **/assess-license-row.test.tsx -g !**/.git -g !**/.svn -g !**/.hg -g !**/CVS -g !**/.DS_Store -g !**/Thumbs.db --no-ignore --no-config --no-ignore-global
11 0 9741 /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg --files --hidden --case-sensitive -g **/assess-license-row.test.tsx -g !**/.git -g !**/.svn -g !**/.hg -g !**/CVS -g !**/.DS_Store -g !**/Thumbs.db --no-ignore --no-config --no-ignore-global
12 0 9742 /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg --files --hidden --case-sensitive -g **/assess-license-row.test.tsx -g !**/.git -g !**/.svn -g !**/.hg -g !**/CVS -g !**/.DS_Store -g !**/Thumbs.db --no-ignore --no-config --no-ignore-global
13 0 9743 /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg --files --hidden --case-sensitive -g **/assess-license-row.test.tsx -g !**/.git -g !**/.svn -g !**/.hg -g !**/CVS -g !**/.DS_Store -g !**/Thumbs.db --no-ignore --no-config --no-ignore-global
11 0 9744 /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg --files --hidden --case-sensitive -g **/assess-license-row.test.tsx -g !**/.git -g !**/.svn -g !**/.hg -g !**/CVS -g !**/.DS_Store -g !**/Thumbs.db --no-ignore --no-config --no-ignore-global
11 0 9745 /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg --files --hidden --case-sensitive -g **/assess-license-row.test.tsx -g !**/.git -g !**/.svn -g !**/.hg -g !**/CVS -g !**/.DS_Store -g !**/Thumbs.db --no-ignore --no-config --no-ignore-global
13 0 9746 /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg --files --hidden --case-sensitive -g **/assess-license-row.test.tsx -g !**/.git -g !**/.svn -g !**/.hg -g !**/CVS -g !**/.DS_Store -g !**/Thumbs.db --no-ignore --no-config --no-ignore-global
14 0 9747 /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg --files --hidden --case-sensitive -g **/assess-license-row.test.tsx -g !**/.git -g !**/.svn -g !**/.hg -g !**/CVS -g !**/.DS_Store -g !**/Thumbs.db --no-ignore --no-config --no-ignore-global
16 0 9749 /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg --files --hidden --case-sensitive -g **/assess-license-row.test.tsx -g !**/.git -g !**/.svn -g !**/.hg -g !**/CVS -g !**/.DS_Store -g !**/Thumbs.db --no-ignore --no-config --no-ignore-global
13 0 9750 /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg --files --hidden --case-sensitive -g **/assess-license-row.test.tsx -g !**/.git -g !**/.svn -g !**/.hg -g !**/CVS -g !**/.DS_Store -g !**/Thumbs.db --no-ignore --no-config --no-ignore-global
16 0 9751 /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg --files --hidden --case-sensitive -g **/assess-license-row.test.tsx -g !**/.git -g !**/.svn -g !**/.hg -g !**/CVS -g !**/.DS_Store -g !**/Thumbs.db --no-ignore --no-config --no-ignore-global
15 0 9752 /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg --files --hidden --case-sensitive -g **/assess-license-row.test.tsx -g !**/.git -g !**/.svn -g !**/.hg -g !**/CVS -g !**/.DS_Store -g !**/Thumbs.db --no-ignore --no-config --no-ignore-global
0 0 9776 /Applications/Xcode.app/Contents/Developer/usr/bin/git fetch
0 0 9782 /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-remote-https origin https://github.com/Contrast-Security-Inc/contrast-superadmin-mfe.git
0 0 9797 git credential-osxkeychain store
1 0 9801 /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-credential-osxkeychain store
1 0 9803 /usr/bin/git config --get commit.template
0 66 9787 process-explorer
0 66 9788 issue-reporter
1 0 9804 /bin/sh -c which ps
Workspace Info
| Window (assess-license-row.test.tsx — contrast-superadmin-mfe)
| Folder (contrast-superadmin-mfe): 208 files
| File types: html(83) ts(33) tsx(14) json(9) yml(4) js(4) md(2) css(2)
| png(2) gitignore(1)
| Conf files: github-actions(4) settings.json(1) package.json(1)
| tsconfig.json(1);
Extensions (9)
| Extension | Author (truncated) | Version |
|---|---|---|
| path-intellisense | chr | 2.8.1 |
| cucumber-official | Cuc | 1.5.1 |
| gitlens | eam | 13.0.3 |
| prettier-vscode | esb | 9.9.0 |
| playwright | ms- | 0.2.13 |
| sarif-viewer | MS- | 3.3.1 |
| vsliveshare | ms- | 1.0.5750 |
| material-icon-theme | PKi | 4.21.0 |
| change-case | wma | 1.0.0 |
(1 theme extensions excluded)
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
pyindex848cf:30577861
nodejswelcome1:30587005
fc301958:30595537
Reacted by bebstein-pass and Erik Krogh Kristensen
Metadata
Metadata
Assignees
Labels
*caused-by-extensionIssue identified to be caused by an extensioninfo-neededIssue requires more information from postersearchSearch widget and operation issues
Activity
gjsjohnmurray commentedon Oct 26, 2022
Based on #137681 please launch VS Code with the
--disable-extensionscommand line switch to see if the issue is being caused by one of your extensions.roblourens commentedon Oct 26, 2022
Most likely an extension. If you can't figure it out,
could help narrow it down if you share which one
jmsims2 commentedon Oct 27, 2022
It's in the process info. It's just whatever file I'm on, in this case it was a test. I had tried disabling the extensions yesterday but will try again tomorrow (was out of the office today).
Thanks for the help, appreciate it!
nickrolfe commentedon Nov 8, 2022
I am seeing the same behaviour – I type a few dozen characters, then lots of ripgrep processes spawn (as children of the extension host), consuming a lot of CPU and making the computer unresponsive.
I used the "Start Extension Bisect" feature, the result of which was that
ms-vscode.test-adapter-converteris the apparent culprit.All the processes have the same command line (
ActiveSupport.qllis the name of the file I was editing):jason-ha commentedon Dec 8, 2022
I was going to file an issue with
ms-vscode.test-adapter-converterbut after disabling it and some extensions that depend on it, I could still run into this problem. After disabling others, I found thatMS-SarifVSCode.sarif-viewercould be involved. This matches Jeff Sims (@jmsims2) list that shows sarif-viewer.Perhaps there is some feature/function that extensions use that trigger use of
@vscode/ripgrepwhich gets stuck running.@vscode/ripgrepis direct dependency of VSCode but not ofMS-SarifVSCode.sarif-viewer.nickrolfe commentedon Dec 8, 2022
Which reminds me, I have to retract my previous finger-pointing at the test adapter extension – shortly after my last comment I got a hint from a coworker to disable the Microsoft SARIF viewer extension, and that fixed the issue for me as well.
vscodenpa commentedon Dec 8, 2022
This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run
Help: Start extension bisectfrom the command palette (F1) to help identify the problem extension.Happy Coding!
jason-ha commentedon Dec 8, 2022
There is an issue already filed. See microsoft/sarif-vscode-extension#472