Closed HarryRaddatz closed 1 month ago
Please try collecting the TS Server log from the crashed instance:
"typescript.tsserver.log": "verbose"
TypeScript
section of the output panelAt the very top, find the first line that prints to path to the semantic error log file. It should look something like:
[Info - 19:54:59.247] <semantic> Log file: /Users/matb/Library/Application Support/Code - Insiders/logs/20200213T104930/exthost55/vscode.typescript-language-features/tsserver-log-ZT2zau/tsserver.log
That file contains the typescript logs.
Look through that log file for the first error or stack trace you see. If you can share the log, I can also take a look to see if anything stands out
⚠️Warning: The TypeScript log may include information from your workspace, including file paths and source code. If you have any concerns about posting this publicly on Github, just let me know and we can arrange something else. On our side, we only use these logs to investigate issues like this
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
Type: Performance Issue
The Typescript server is crashing while lopping, I'm running a very large project on an Intel Core i5 with 8gb of RAM and it's not being able to process it.
VS Code version: Code 1.92.0 (b1c0a14de1414fcdaa400695b4db1c0799bc3124, 2024-07-31T23:26:45.634Z) OS version: Windows_NT x64 10.0.22631 Modes: Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2 Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2 Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2
System Info
|Item|Value| |---|---| |CPUs|AMD Ryzen 5 5500 (12 x 3593)| |GPU Status|2d_canvas: enabledcanvas_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.91GB (4.21GB free)| |Process Argv|--folder-uri=vscode-remote://wsl+Ubuntu-24.04/home/pseudo/projetos/lilly/scripts/notasOld --remote=wsl+Ubuntu-24.04 --crash-reporter-id e49363ab-0751-4f1e-aed1-c3ca6c62b129| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu-24.04| |OS|Linux x64 5.15.153.1-microsoft-standard-WSL2| |CPUs|AMD Ryzen 5 5500 (12 x 0)| |Memory (System)|7.71GB (4.96GB free)| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu-24.04| |OS|Linux x64 5.15.153.1-microsoft-standard-WSL2| |CPUs|AMD Ryzen 5 5500 (12 x 0)| |Memory (System)|7.71GB (4.96GB free)| |VM|0%| |Item|Value| |---|---| |Remote|SSH: 192.168.15.71| |OS|Linux x64 5.15.153.1-microsoft-standard-WSL2| |CPUs|Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz (8 x 0)| |Memory (System)|7.64GB (4.58GB free)| |VM|0%|
Process Info
``` CPU % Mem MB PID Process 0 142 14588 code main 0 86 1292 fileWatcher [4] 0 469 1360 window [15] (UpdateAdmin.ts - api-typescript-syde [SSH: 192.168.15.71] - Visual Studio Code) 1 159 2324 gpu-process 0 310 2636 window [13] (UserResolver.ts - pesagro [WSL: Ubuntu-24.04] - Visual Studio Code) 0 43 3228 utility-network-service 0 27 6080 crashpad-handler 0 98 10016 fileWatcher [13] 0 157 11312 extensionHost [15] 0 150 13744 extensionHost [13] 0 92 5144 electron-nodejs (wslDaemon.js ) 0 120 16768 extensionHost [4] 0 83 18308 electron-nodejs (wslDaemon.js ) 0 112 18240 shared-process 0 97 19784 fileWatcher [15] 1 421 21216 window [4] (JwtService.ts - microservice [WSL: Ubuntu-24.04] - Visual Studio Code) 0 108 23476 window [16] (Issue Reporter) 0 103 24536 ptyHost 0 4 17944 C:\WINDOWS\System32\cmd.exe /c (type "C:\Users\win\AppData\Local\Temp\vscode-linux-multi-line-command-192.168.15.71-189370514.sh" | "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 63608 "192.168.15.71" bash) & exit /b 0 0 9 22732 "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 63608 "192.168.15.71" bash 0 6 22836 conpty-agent Remote: WSL: Ubuntu-24.04 CPU % Mem MB PID Process 0 0 1641 remote agent 0 0 1937 ptyHost 0 0 117833 /bin/bash --init-file /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh 0 0 870502 node /home/pseudo/.nvm/versions/node/v20.15.1/bin/yarn dev 0 0 870679 /bin/sh -c tsnd ./src/index.ts --respawn --transpile-only --clear --type-check 0 0 870680 /home/pseudo/.nvm/versions/node/v20.15.1/bin/node /home/pseudo/templates/microservice/node_modules/.bin/tsnd ./src/index.ts --respawn --transpile-only --clear --type-check 0 0 873803 /home/pseudo/.nvm/versions/node/v20.15.1/bin/node -r /tmp/ts-node-dev-hook-1887384123355471.js /home/pseudo/templates/microservice/node_modules/ts-node-dev/lib/wrap.js ./src/index.ts --respawn --transpile-only --clear --type-check 0 0 132870 /bin/bash --init-file /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh 0 0 864330 /bin/bash --init-file /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh 0 0 117795 extension-host 0 0 117995 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/node /home/pseudo/.vscode-server/extensions/prisma.prisma-5.18.0/node_modules/@prisma/language-server/dist/bin.js --node-ipc --clientProcessId=117795 0 0 125099 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/node /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=117795 0 0 870559 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/node --max-old-space-size=3072 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/extensions/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /tmp/vscode-typescript1002/03d23a093f36a280303d/tscancellation-5ce98c2adbef6f500e7b.tmp* --locale en --noGetErrOnBackgroundUpdate --canUseWatchEvents --validateDefaultNpmLocation --useNodeIpc 0 0 870562 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/node --max-old-space-size=3072 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/extensions/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --enableTelemetry --cancellationPipeName /tmp/vscode-typescript1002/03d23a093f36a280303d/tscancellation-190c087989858d252b5e.tmp* --locale en --noGetErrOnBackgroundUpdate --canUseWatchEvents --validateDefaultNpmLocation --useNodeIpc 0 0 870607 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/node /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/extensions/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /home/pseudo/.cache/typescript/5.5 --enableTelemetry --typesMapLocation /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/extensions/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation 0 0 117810 fileWatcher 0 0 864148 extension-host 0 0 864190 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/node /home/pseudo/.vscode-server/extensions/prisma.prisma-5.18.0/node_modules/@prisma/language-server/dist/bin.js --node-ipc --clientProcessId=864148 0 0 864483 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/node /home/pseudo/.vscode-server/extensions/github.vscode-github-actions-0.26.3/dist/server-node.js --node-ipc --clientProcessId=864148 0 0 870560 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/node --max-old-space-size=3072 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/extensions/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /tmp/vscode-typescript1002/1900d30c08c38491ecad/tscancellation-f715bf2ec2805abc76a9.tmp* --locale en --noGetErrOnBackgroundUpdate --canUseWatchEvents --validateDefaultNpmLocation --useNodeIpc 0 0 870561 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/node --max-old-space-size=3072 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/extensions/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --enableTelemetry --cancellationPipeName /tmp/vscode-typescript1002/1900d30c08c38491ecad/tscancellation-53bfb4a0a1f42ad19fa6.tmp* --locale en --noGetErrOnBackgroundUpdate --canUseWatchEvents --validateDefaultNpmLocation --useNodeIpc 0 0 870606 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/node /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/extensions/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /home/pseudo/.cache/typescript/5.5 --enableTelemetry --typesMapLocation /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/extensions/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation 0 0 864267 fileWatcher 0 0 878942 /bin/sh -c /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 0 878943 /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= Remote: WSL: Ubuntu-24.04 CPU % Mem MB PID Process 0 0 1641 remote agent 0 0 1937 ptyHost 0 0 117833 /bin/bash --init-file /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh 0 0 870502 node /home/pseudo/.nvm/versions/node/v20.15.1/bin/yarn dev 0 0 870679 /bin/sh -c tsnd ./src/index.ts --respawn --transpile-only --clear --type-check 0 0 870680 /home/pseudo/.nvm/versions/node/v20.15.1/bin/node /home/pseudo/templates/microservice/node_modules/.bin/tsnd ./src/index.ts --respawn --transpile-only --clear --type-check 0 0 873803 /home/pseudo/.nvm/versions/node/v20.15.1/bin/node -r /tmp/ts-node-dev-hook-1887384123355471.js /home/pseudo/templates/microservice/node_modules/ts-node-dev/lib/wrap.js ./src/index.ts --respawn --transpile-only --clear --type-check 0 0 132870 /bin/bash --init-file /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh 0 0 864330 /bin/bash --init-file /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh 0 0 117795 extension-host 0 0 117995 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/node /home/pseudo/.vscode-server/extensions/prisma.prisma-5.18.0/node_modules/@prisma/language-server/dist/bin.js --node-ipc --clientProcessId=117795 0 0 125099 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/node /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=117795 0 0 870559 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/node --max-old-space-size=3072 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/extensions/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /tmp/vscode-typescript1002/03d23a093f36a280303d/tscancellation-5ce98c2adbef6f500e7b.tmp* --locale en --noGetErrOnBackgroundUpdate --canUseWatchEvents --validateDefaultNpmLocation --useNodeIpc 0 0 870562 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/node --max-old-space-size=3072 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/extensions/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --enableTelemetry --cancellationPipeName /tmp/vscode-typescript1002/03d23a093f36a280303d/tscancellation-190c087989858d252b5e.tmp* --locale en --noGetErrOnBackgroundUpdate --canUseWatchEvents --validateDefaultNpmLocation --useNodeIpc 0 0 870607 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/node /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/extensions/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /home/pseudo/.cache/typescript/5.5 --enableTelemetry --typesMapLocation /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/extensions/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation 0 0 117810 fileWatcher 0 0 864148 extension-host 0 0 864190 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/node /home/pseudo/.vscode-server/extensions/prisma.prisma-5.18.0/node_modules/@prisma/language-server/dist/bin.js --node-ipc --clientProcessId=864148 0 0 864483 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/node /home/pseudo/.vscode-server/extensions/github.vscode-github-actions-0.26.3/dist/server-node.js --node-ipc --clientProcessId=864148 0 0 870560 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/node --max-old-space-size=3072 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/extensions/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /tmp/vscode-typescript1002/1900d30c08c38491ecad/tscancellation-f715bf2ec2805abc76a9.tmp* --locale en --noGetErrOnBackgroundUpdate --canUseWatchEvents --validateDefaultNpmLocation --useNodeIpc 0 0 870561 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/node --max-old-space-size=3072 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/extensions/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --enableTelemetry --cancellationPipeName /tmp/vscode-typescript1002/1900d30c08c38491ecad/tscancellation-53bfb4a0a1f42ad19fa6.tmp* --locale en --noGetErrOnBackgroundUpdate --canUseWatchEvents --validateDefaultNpmLocation --useNodeIpc 0 0 870606 /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/node /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/extensions/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /home/pseudo/.cache/typescript/5.5 --enableTelemetry --typesMapLocation /home/pseudo/.vscode-server/bin/b1c0a14de1414fcdaa400695b4db1c0799bc3124/extensions/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation 0 0 864267 fileWatcher 0 0 878940 /bin/sh -c /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 0 878941 /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 0 878942 /bin/sh -c /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= Remote: SSH: 192.168.15.71 CPU % Mem MB PID Process 1 0 15666 remote agent 0 0 15893 extension-host 0 0 15956 /home/harry/.vscode-server/cli/servers/Stable-b1c0a14de1414fcdaa400695b4db1c0799bc3124/server/node /home/harry/.vscode-server/cli/servers/Stable-b1c0a14de1414fcdaa400695b4db1c0799bc3124/server/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=15893 0 0 15976 /home/harry/.local/share/CircleCI-language-server/circleci-yaml-language-server 0 0 15904 ptyHost 0 0 16441 /bin/bash --init-file /home/harry/.vscode-server/cli/servers/Stable-b1c0a14de1414fcdaa400695b4db1c0799bc3124/server/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh 0 0 16354 extension-host 0 0 16696 /home/harry/.vscode-server/cli/servers/Stable-b1c0a14de1414fcdaa400695b4db1c0799bc3124/server/node /home/harry/.vscode-server/cli/servers/Stable-b1c0a14de1414fcdaa400695b4db1c0799bc3124/server/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=16354 0 0 16723 /home/harry/.local/share/CircleCI-language-server/circleci-yaml-language-server 0 0 22288 /home/harry/.vscode-server/cli/servers/Stable-b1c0a14de1414fcdaa400695b4db1c0799bc3124/server/node --max-old-space-size=3072 /home/harry/.vscode-server/cli/servers/Stable-b1c0a14de1414fcdaa400695b4db1c0799bc3124/server/extensions/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /tmp/vscode-typescript1000/b42ef2463a33022b640e/tscancellation-0b58483f31274de30926.tmp* --logVerbosity terse --logFile /home/harry/.vscode-server/data/logs/20240808T075430/exthost2/vscode.typescript-language-features/tsserver-log-ifFtL7/tsserver.log --locale en --noGetErrOnBackgroundUpdate --canUseWatchEvents --validateDefaultNpmLocation --useNodeIpc 0 0 16365 fileWatcher 0 0 22396 /bin/sh -c /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 0 22397 /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= ```Workspace Info
``` | Remote: WSL: Ubuntu-24.04| Folder (microservice): 52 files| File types: ts(15) json(6) env(1) gitignore(1) js(1) mjs(1) prisma(1) | gql(1) lock(1) | Conf files: settings.json(1) package.json(1) tsconfig.json(1) | Remote: WSL: Ubuntu-24.04| Folder (pesagro): 232 files| File types: js(80) ts(72) json(3) dockerignore(1) env(1) example(1) | test(1) yml(1) gitignore(1) nvmrc(1) | Conf files: github-actions(1) dockerfile(1) package.json(1) | tsconfig.json(1) | Remote: SSH: 192.168.15.71| Folder (api-typescript-syde): 3725 files| File types: ts(3165) json(39) snap(8) env(6) yml(4) html(4) test(3) | md(3) sh(3) gitignore(2) | Conf files: tsconfig.json(13) dockerfile(1) launch.json(1) | settings.json(1) tasks.json(1) package.json(1) | Launch Configs: node(7); ```Extensions (13)
Extension|Author (truncated)|Version ---|---|--- es7-react-js-snippets|dsz|4.4.3 graphql|mqu|0.1.2 remote-ssh|ms-|0.112.0 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.88.2 remote-explorer|ms-|0.4.3 es7-react-js-snippets|rod|1.9.3 circleci|Cir|2.8.4 gitlens|eam|15.2.3 EditorConfig|Edi|0.16.4 vscode-github-actions|git|0.26.3 vscode-docker|ms-|1.29.1 vs-code-prettier-eslint|rve|6.0.0 (2 theme extensions excluded)A/B Experiments
``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30256860 vstes627:30244334 vscoreces:30445986 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 01bff139:31013167 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupytercf:31046870 impr_priority:31102340 nativerepl2:31104044 refactort:31108082 ccpltc:31103427 pythonrstrctxt:31112756 wkspc-onlycs-t:31111718 ```