microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.47k stars 28.63k forks source link

laptop frequently freezes #134483

Closed pkgs123 closed 2 years ago

pkgs123 commented 2 years ago

Issue Type: Performance Issue

laptop frequently freezes or completely halts twice or thrice in a day while opening VSCode. After restart it's started working and then after some time again i click on VSCode it frezzes my laptop completely.

VS Code version: Code 1.60.2 (7f6ab5485bbc008386c4386d08766667e155244e, 2021-09-22T12:00:31.514Z) OS version: Windows_NT x64 10.0.17763 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx (8 x 2096)| |GPU Status|2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|5.93GB (1.10GB free)| |Process Argv|--crash-reporter-id 8fec7abd-088e-4dcd-9cd2-9938feb9cf61| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 0 185 3748 code main 3 102 2996 gpu-process 0 15 3488 crashpad-handler 1 258 10428 window (Schema.js - Untitled (Workspace) - Visual Studio Code) 0 191 1640 extensionHost 0 7 1460 electron_node Schema.js 0 9 800 electron_node Schema.js 0 13 13172 console-window-host (Windows internal process) 3 4 2904 C:\Users\prashant4.singh\AppData\Local\Programs\Git\cmd\git.exe remote --verbose 0 13 2548 console-window-host (Windows internal process) 0 7 4212 electron_node Schema.js 0 9 2788 electron_node Schema.js 0 13 10232 console-window-host (Windows internal process) 0 197 5964 electron_node tsserver.js 0 164 12932 electron_node typingsInstaller.js typesMap.js 0 8 3752 C:\Windows\system32\cmd.exe /d /s /c "npm install --ignore-scripts types-registry@latest" 0 8 13648 C:\Windows\system32\cmd.exe /c CALL "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\\node_modules\npm\bin\npm-cli.js" prefix -g 0 13 13716 console-window-host (Windows internal process) 0 72 11696 electron_node tsserver.js 0 147 12980 electron_node server.js 0 8 13620 C:\Windows\system32\cmd.exe /c npm.cmd config get prefix 0 13 13636 console-window-host (Windows internal process) 0 8 13832 C:\Windows\system32\cmd.exe /c CALL "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\\node_modules\npm\bin\npm-cli.js" prefix -g 3 4 14056 C:\Users\prashant4.singh\AppData\Local\Programs\Git\cmd\git.exe for-each-ref --sort -committerdate --format "%(refname) %(objectname) %(*objectname)" 0 13 9556 console-window-host (Windows internal process) 0 159 6620 watcherService 0 149 12624 searchService 0 11 832 electron_node package.js 0 13 8012 console-window-host (Windows internal process) 0 11 4072 electron_node package.js 0 13 8320 console-window-host (Windows internal process) 1 13 7384 electron_node package.js 0 13 11016 console-window-host (Windows internal process) 0 10 11100 electron_node package.js 0 13 7136 console-window-host (Windows internal process) 0 12 12596 electron_node package.js 0 13 232 console-window-host (Windows internal process) 0 25 10800 utility 2 165 11864 shared-process 0 157 6792 ptyHost 0 8 792 winpty-process 0 12 772 console-window-host (Windows internal process) 0 56 13092 C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe 0 53 12988 window (Issue Reporter) 0 23 13304 utility ```
Workspace Info ``` | Window (Schema.js - Untitled (Workspace) - Visual Studio Code) | Folder (api): 15 files | File types: js(9) json(2) | Conf files: package.json(1) | Folder (server-side): 17 files | File types: js(10) json(2) | Conf files: package.json(1) | Folder (api-vrnchecklist): 19 files | File types: js(6) json(3) env(1) gitignore(1) yml(1) | Conf files: package.json(1) | Folder (ReactPractice): 189 files | File types: js(82) png(16) json(13) css(5) gitignore(4) ico(4) html(3) | txt(3) md(3) svg(3) | Conf files: package.json(5) | Folder (NodeProj_Jio): 274 files | File types: js(81) json(34) env(12) gitignore(12) yml(11) xml(5) cer(4) | pem(4) crt(4) dockerignore(2) | Conf files: package.json(12) launch.json(1) | Folder (RJIO_UI_FICO_PROJ): 400 files | File types: js(237) json(21) png(10) gitignore(7) yml(7) env(5) css(5) | md(3) ico(3) jpg(3) | Conf files: package.json(7) | Folder (ReactProj_Jio): 1346 files | File types: js(746) json(53) png(50) css(36) ico(18) gitignore(17) | html(17) md(16) yml(14) txt(13) | Conf files: package.json(17) launch.json(1) | Launch Configs: chrome; ```
Extensions (4) Extension|Author (truncated)|Version ---|---|--- vscode-standardjs|che|1.4.1 es7-react-js-snippets|dsz|3.1.1 vscode-docker|ms-|1.17.0 debugger-for-chrome|msj|4.13.0
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 pythonvspyt602:30300191 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythonvspyt639:30300192 pythontb:30283811 pythonvspyt551cf:30345471 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscoreces:30358480 pythondataviewer:30285071 pythonvsuse255:30340121 vscod805cf:30301675 pythonvspyt200:30340761 binariesv615:30325510 vsccppwt:30364497 pythonvssor306:30344512 bridge0708:30335490 pygetstartedt2:30371810 dockerwalkthru:30377721 bridge0723:30353136 pythonrunftest32:30373476 pythonf5test824:30373475 javagetstartedc:30364665 pythonvspyt187:30373474 pydsgst2:30361792 vsqsis400:30374798 vsaa593cf:30376535 ```
connor4312 commented 2 years ago

Please check out https://github.com/microsoft/vscode/wiki/Performance-Issues#profiling-the-renderer-process

/needsMoreInfo