microsoft / vscode

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

Alto consumo de ram #142100

Closed Bulgrat closed 2 years ago

Bulgrat commented 2 years ago

Issue Type: Performance Issue

VsCode está executando mas de 4mil processos chegando a usar 99% da memoria ram

VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:40:02.816Z) OS version: Windows_NT x64 10.0.19043 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i3-4130 CPU @ 3.40GHz (4 x 3392)| |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)|7.95GB (0.16GB free)| |Process Argv|--crash-reporter-id 234fb87e-383d-48e5-afeb-6fe96fe938a0| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 0 43 52488 code main 0 30 23400 shared-process 0 2 1472 watcherServiceParcelSharedProcess 0 4 46324 ptyHost 0 1 27868 C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe 0 1 50252 console-window-host (Windows internal process) 0 1 34748 crashpad-handler 0 9 41500 utility-network-service 0 114 42324 window (pokemon-card.component.html - pokedex - Visual Studio Code) 0 48 44016 gpu-process 0 9 65352 extensionHost 0 2 8332 "C:\Users\Junior\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Users\Junior\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\html-language-features\server\dist\node\htmlServerMain" --node-ipc --clientProcessId=65352 0 10 58940 "C:\Users\Junior\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node c:\Users\Junior\.vscode\extensions\angular.ng-template-13.2.2\server --logToConsole --ngProbeLocations c:\Users\Junior\.vscode\extensions\angular.ng-template-13.2.2,d:\Documentos\angular\pokedex --includeAutomaticOptionalChainCompletions --includeCompletionsWithSnippetText --tsProbeLocations ,c:\Users\Junior\.vscode\extensions\angular.ng-template-13.2.2,d:\Documentos\angular\pokedex --node-ipc --clientProcessId=65352 0 0 58964 "C:\Program Files\Git\cmd\git.exe" --version 3 2 27432 console-window-host (Windows internal process) 0 0 51956 git.exe --version 0 0 35664 git.exe --version 0 0 24444 git.exe --version 0 0 15936 git.exe --version 0 0 41404 git.exe --version 0 0 25852 git.exe --version 0 0 14844 git.exe --version 0 0 39188 git.exe --version ```
Workspace Info ``` | Window (pokemon-card.component.html - pokedex - Visual Studio Code) | Folder (pokedex): 82 files | File types: json(29) ts(12) pack(11) html(4) sass(4) old(1) | browserslistrc(1) editorconfig(1) gitignore(1) js(1) | Conf files: launch.json(1) tasks.json(1) package.json(1) | tsconfig.json(1) | Launch Configs: pwa-chrome chrome; ```
Extensions (3) Extension|Author (truncated)|Version ---|---|--- ng-template|Ang|13.2.2 angular-schematics|cyr|5.1.1 material-icon-theme|PKi|4.12.1
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30256860 pythonvspyl392cf:30425750 pythontb:30283811 pythonvspyt551cf:30345471 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscoreces:30429731 pythondataviewer:30285071 vscod805:30301674 pythonvspyt200:30340761 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 vsc1dst:30428979 pythonvs932:30410667 vscop453:30404998 vsrem710cf:30416617 ```
gjsjohnmurray commented 2 years ago

/duplicate of #142099