Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json-language-features consuming >300% CPU while no VSCode windows are open #237245

Open
samuela opened this issue Jan 4, 2025 · 0 comments
Open
Assignees

Comments

@samuela
Copy link

samuela commented Jan 4, 2025

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

  • VS Code Version: 1.96.2 fabdb6a
  • OS Version: macOS 15.1.1 (24B91)

Steps to Reproduce:

  1. Open VSCode
  2. Open Activity Monitor to notice consistent >300% CPU usage by a Code Helper (Plugin) process:
Image
  1. Inspect related processes with ps aux | grep 2040 to implicate the json-language-features extension:
❯ ps aux | grep 2040
samuelainsworth   2040 316.4  6.7 1631550720 4489488   ??  R    19Dec24 2740:22.41 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --type=utility --utility-sub-type=node.mojom.NodeService --lang=en-US --service-sandbox-type=none --dns-result-order=ipv4first --inspect-port=0 --user-data-dir=/Users/samuelainsworth/Library/Application Support/Code --standard-schemes=vscode-webview,vscode-file --enable-sandbox --secure-schemes=vscode-webview,vscode-file --cors-schemes=vscode-webview,vscode-file --fetch-schemes=vscode-webview,vscode-file --service-worker-schemes=vscode-webview --code-cache-schemes=vscode-webview,vscode-file --shared-files --field-trial-handle=1718379636,r,18016930961250905889,13590679581117912660,262144 --enable-features=ScreenCaptureKitPickerScreen,ScreenCaptureKitStreamPickerSonoma --disable-features=CalculateNativeWinOcclusion,MacWebContentsOcclusion,PlzDedicatedWorker,SpareRendererForSitePerProcess,TimeoutHangingVideoCaptureStarts --variations-seed-version
samuelainsworth   2152   0.0  0.1 1621845600  40848   ??  S    19Dec24   0:10.94 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=2040
samuelainsworth   3918   0.0  0.0 410730496   4144 s011  S+    9:07PM   0:00.01 rg 2040

In particular, json-language-features/server/dist/node/jsonServerMain seems suspect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants