microsoft / vscode

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

My laptop is getting too hot when using vscode #179685

Closed AshikurRahmanMunna closed 1 year ago

AshikurRahmanMunna commented 1 year ago

Type: Performance Issue

I have asus tuf f15 laptop. I5 10330J, GTX 1650 GDDR6 4GB, 24Gb of ram, 512 GB NVME M.2. I think this laptop is good enough to run vscode. So, why it is making my latop hot too much. Sometimes it get 90 - 06 degree celcius. And after some times of coding, It does input lag. How to fix it.

VS Code version: Code 1.77.1 (b7886d7461186a5eac768481578c1d7ca80e2d21, 2023-04-04T23:21:11.906Z) OS version: Windows_NT x64 10.0.22621 Modes: Sandboxed: Yes

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz (8 x 2496)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|undefined| |Memory (System)|23.84GB (15.02GB free)| |Process Argv|E:\\WebDevelopment\\projects\\banglar-big-store\\backend --crash-reporter-id b10e4f04-6f52-4af3-9ee3-a2c48a850302| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 0 91 23068 code main 0 39 4148 utility-network-service 0 132 13448 gpu-process 0 94 15704 shared-process 0 80 20248 ptyHost 0 5 31016 "D:\Program Files\Git\bin\bash.exe" 0 10 30956 "D:\Program Files\Git\bin\..\usr\bin\bash.exe" 0 6 31564 console-window-host (Windows internal process) 0 142 25500 extensionHost [1] 0 100 6248 electron-nodejs ("D:\Program Files\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node c:\Users\Asus\.vscode\extensions\streetsidesoftware.code-spell-checker-2.20.4\packages\_server\dist\main.js --node-ipc --clientProcessId=25500) 0 113 6760 electron-nodejs ("D:\Program Files\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node --max-old-space-size=3072 "d:\Program Files\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js" --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName C:\Users\Asus\AppData\Local\Temp\vscode-typescript\2d33de5d56420023272a\tscancellation-923f98dfbd6b74c63217.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc) 0 75 13708 electron-nodejs ("D:\Program Files\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node c:\Users\Asus\.vscode\extensions\formulahendry.auto-rename-tag-0.1.10\packages\server\dist\serverMain.js --node-ipc --clientProcessId=25500) 0 492 17052 electron-nodejs ("D:\Program Files\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node --max-old-space-size=3072 "d:\Program Files\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js" --useInferredProjectPerProjectRoot --enableTelemetry --cancellationPipeName C:\Users\Asus\AppData\Local\Temp\vscode-typescript\2d33de5d56420023272a\tscancellation-efecb7c7b16d1f35836a.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc) 0 83 30672 electron-nodejs ("D:\Program Files\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "d:/Program Files/Microsoft VS Code/resources/app/extensions/node_modules/typescript/lib/typingsInstaller.js" --globalTypingsCacheLocation C:/Users/Asus/AppData/Local/Microsoft/TypeScript/5.0 --enableTelemetry --typesMapLocation "d:/Program Files/Microsoft VS Code/resources/app/extensions/node_modules/typescript/lib/typesMap.json" --validateDefaultNpmLocation) 0 76 29008 electron-nodejs ("D:\Program Files\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node c:\Users\Asus\.vscode\extensions\dbaeumer.vscode-eslint-2.4.0\server\out\eslintServer.js --node-ipc --clientProcessId=25500) 0 71 26172 fileWatcher [1] 0 87 29528 window [2] (Issue Reporter) 0 26 31808 crashpad-handler 0 182 37056 window [1] (● seller.controller.js - backend - Visual Studio Code) ```
Workspace Info ``` | Window (● seller.controller.js - backend - Visual Studio Code) | Folder (backend): 81 files | File types: js(67) json(2) env(1) gitignore(1) | Conf files: package.json(1); ```
Extensions (34) Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.2 codesnap|adp|1.3.4 vscode-tailwindcss|bra|0.9.11 npm-intellisense|chr|1.4.4 path-intellisense|chr|2.8.4 vscode-eslint|dba|2.4.0 prettier-vscode|esb|9.10.4 auto-close-tag|for|0.5.14 auto-complete-tag|for|0.1.0 auto-rename-tag|for|0.1.10 code-runner|for|0.12.0 gc-excelviewer|Gra|4.2.57 todo-tree|Gru|0.0.224 search-node-modules|jas|1.3.0 react-vscode-extension-pack|jaw|1.0.0 color-the-tag-name|jzm|0.19.8 autopep8|ms-|2023.2.0 isort|ms-|2022.8.0 pylint|ms-|2023.4.0 python|ms-|2023.6.0 vscode-pylance|ms-|2023.4.10 jupyter|ms-|2023.3.1000892223 jupyter-keymap|ms-|1.1.0 jupyter-renderers|ms-|1.0.15 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-slideshow|ms-|0.1.5 remote-wsl|ms-|0.77.0 vscode-react-native|msj|1.10.2 material-icon-theme|PKi|4.26.0 LiveServer|rit|5.7.9 code-spell-checker|str|2.20.4 JavaScriptSnippets|xab|1.8.0 ReactSnippets|xab|2.4.0 material-theme|zhu|3.15.8 (1 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscoreces:30445986 pythondataviewer:30285071 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593cf:30376535 pythonvs932:30410667 cppdebug:30492333 vsclangdc:30486549 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyone:30548225 vsccc:30610678 nodejswelcome1:30587005 282f8724:30602487 pyind779:30671433 f6dab269:30613381 pythonsymbol12:30671437 vsctsb:30705553 functionswalk:30687959 pythonms35:30701012 pythonclientmv:30708685 ```
BoKKeR commented 1 year ago

Could you try disabling the extensions?

VSCodeTriageBot commented 1 year ago

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.

Happy Coding!

rebornix commented 1 year ago

Can you please try the recommendation above "disabling the extension" and see if it helps, this can be a good start to know if it's caused by any extension process.

VSCodeTriageBot commented 1 year ago

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!