mttetc
April 1, 2025, 7:57am
1
I have no idea why, I’m talking about the software, not requests.
I disabled every extensions and it’s not better.
In the process, what goes above 100% gpu is something called “tsserver: semantic electron-nodejs (typingsInstaller.js typesMap.js”
Any idea no what to do?
1 Like
Hey, one solution would be to disable TypeScript: Disable Automatic Type Acquisition
. If that doesn’t help, check out additional solutions here:
opened 04:26PM - 04 May 20 UTC
closed 07:07PM - 06 Aug 24 UTC
Needs More Info
Issue Type: <b>Bug</b>
Within the last week I have been struggling with vscod… e/typescript using upwards of 100% CPU. This leads to 10-30 second delays for intellisense for trivial changes.
The main culprit appears to be `electron_node tsserver.js`.
I've seen a few similar issues but none seem to get the to root of the issue, so apologies if this is a duplicate. This looks similar to https://github.com/microsoft/vscode/issues/96255 but I am experiencing this issue with all extensions disabled.
I first notice the issue using `[email protected] `. Then I tried using the nightly build per suggestion here https://github.com/microsoft/TypeScript/issues/34401#issuecomment-541947997. This worked for a day but then the issues resurfaced.
Any help debugging this would be greatly appreciated.
output from `code --status` after simple code change.
```
Version: Code 1.44.2 (ff915844119ce9485abfe8aa9076ec76b5300ddd, 2020-04-16T17:07:18.473Z)
OS Version: Darwin x64 19.4.0
CPUs: Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400)
Memory (System): 32.00GB (0.04GB free)
Load (avg): 3, 2, 2
VM: 0%
Screen Reader: no
Process Argv: .
GPU Status: 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
CPU % Mem MB PID Process
0 131 23817 code main
0 66 23830 gpu-process
0 33 23832 utility
0 295 23833 window (portal.tsx — elastic-charts)
0 98 23836 extensionHost
0 98 23838 electron_node tsserver.js
100 623 23839 electron_node tsserver.js
0 33 23854 electron_node typingsInstaller.js typesMap.js
0 33 23866 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app/Contents/MacOS/Code Helper (Renderer) /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/jsonServerMain --node-ipc --clientProcessId=23836
0 33 23837 watcherService
0 33 23911 searchService
0 66 23860 shared-process
0 0 24878 /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
0 66 24847 window (Issue Reporter)
Workspace Stats:
| Window (portal.tsx — elastic-charts)
| Folder (elastic-charts): 2705 files
| File types: ts(640) map(600) png(534) js(314) tsx(307) scss(31) md(17)
| json(16) mdx(12) DS_Store(4)
| Conf files: tsconfig.json(5) webpack.config.js(3) package.json(1)
| launch.json(1) settings.json(1)
| Launch Configs: node(2)
```
VS Code version: Code 1.44.2 (ff915844119ce9485abfe8aa9076ec76b5300ddd, 2020-04-16T17:07:18.473Z)
OS version: Darwin x64 19.4.0
<details>
<summary>System Info</summary>
|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400)|
|GPU Status|2d_canvas: enabled<br>flash_3d: enabled<br>flash_stage3d: enabled<br>flash_stage3d_baseline: enabled<br>gpu_compositing: enabled<br>metal: disabled_off<br>multiple_raster_threads: enabled_on<br>oop_rasterization: disabled_off<br>protected_video_decode: unavailable_off<br>rasterization: enabled<br>skia_renderer: disabled_off_ok<br>video_decode: enabled<br>viz_display_compositor: enabled_on<br>viz_hit_test_surface_layer: disabled_off_ok<br>webgl: enabled<br>webgl2: enabled|
|Load (avg)|3, 2, 2|
|Memory (System)|32.00GB (0.19GB free)|
|Process Argv|.|
|Screen Reader|no|
|VM|0%|
</details>Extensions: none
This does not happen in vscde. It never has. I use vscode for years now. This only happens in cursor.
1 Like
system
Closed
May 2, 2025, 4:46pm
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.