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

tsserver for nextjs high memory usage #236773

Open
arnavjagia opened this issue Dec 21, 2024 · 1 comment
Open

tsserver for nextjs high memory usage #236773

arnavjagia opened this issue Dec 21, 2024 · 1 comment
Assignees

Comments

@arnavjagia
Copy link

Type: Performance Issue

Nothing as such
A next app with multiple sub-directories

Spike in resource use has happend suddenly. Worked perfectly fine till the day before.

tsserver had upto 1442 MB memory usage, which is alarming

VS Code version: Code 1.96.2 (fabdb6a, 2024-12-19T10:22:47.216Z)
OS version: Windows_NT x64 10.0.22000
Modes:

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i5-12500H (16 x 3110)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.63GB (8.26GB free)
Process Argv
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    0	   142	 16600	code main
    0	   109	 12300	ptyHost
    0	     7	  1032	     conpty-agent
    0	    82	  9580	     C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"d:\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	   547	 13524	extensionHost [1]
    0	    89	  4144	     "D:\Microsoft VS Code\Code.exe" "d:\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=13524
    0	   782	  9012	     electron-nodejs (tsserver.js )
    0	   105	  7148	       electron-nodejs (typingsInstaller.js typesMap.js )
    0	   130	 14924	     electron-nodejs (tsserver.js )
    0	    45	 14980	   utility-network-service
    0	   122	 15208	shared-process
    1	   328	 16072	window [1] (QuotationSide.tsx - Eventory fe - web - Visual Studio Code)
    0	   189	 16100	   gpu-process
    0	   118	 16424	fileWatcher [1]
Extensions (7)
Extension Author (truncated) Version
prettier-vscode esb 11.0.0
copilot Git 1.254.0
copilot-chat Git 0.23.2
material-icon-theme PKi 5.16.0
gitblame wad 11.1.1
vscode-import-cost wix 3.3.0
material-theme zhu 3.17.7
@arnavjagia
Copy link
Author

Similar issue to microsoft/TypeScript#60832

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