Skip to content

Severe stuttering and high memory footprint #25877

@Plankzzz

Description

@Plankzzz

Type: Performance Issue

After opening vscode, open python editor, not only syntax highlights can not be displayed correctly, especially in the formatter (using black-formatter) serious card, and occupy a large memory.

Extension version: 2026.4.0
VS Code version: Code 1.112.0 (07ff9d6178ede9a1bd12ad3399074d726ebe6e43, 2026-03-17T18:09:23Z)
OS version: Windows_NT x64 10.0.26200
Modes:

System Info
Item Value
CPUs AMD Ryzen 7 8745H w/ Radeon 780M Graphics (16 x 3793)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x1002, DEVICE=0x1900 [AMD Radeon 780M Graphics], DRIVER_VENDOR=AMD, DRIVER_VERSION=32.0.23033.1002 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.7309
Machine model name:
Machine model version:
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
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 29.79GB (17.94GB free)
Process Argv --crash-reporter-id 45094783-7611-47d6-b0d9-09424db0c020
Screen Reader yes
VM 50%
Process Info
CPU %	Mem MB	   PID	Process
    1	   207	 23032	code
    0	     9	  2664	   utility-process
   16	  3996	  3112	extension-host [1]
    0	     6	  1764	     c:\Users\Plank-mini\AppData\Local\Programs\Python\Python313\python.exe c:\Users\Plank-mini\.vscode\extensions\ms-python.black-formatter-2025.2.0\bundled\tool\lsp_server.py --stdio
    0	     1	 23172	       C:\Windows\system32\conhost.exe 0x4
    0	     4	  8640	     c:\Users\Plank-mini\.vscode\extensions\ms-python.python-2026.4.0-win32-x64\python-env-tools\bin\pet.exe server
    0	     1	 26816	       C:\Windows\system32\conhost.exe 0x4
    0	    32	 18012	     "C:\Users\Plank-mini\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\Plank-mini\AppData\Local\Programs\Microsoft VS Code\07ff9d6178\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=3112
    0	    42	 24612	     electron-nodejs (bundle.js)
    0	     2	 26128	     c:\Users\Plank-mini\.vscode\extensions\ms-python.vscode-python-envs-1.22.0-win32-x64\python-env-tools\bin\pet.exe server
    0	     1	  6620	       C:\Windows\system32\conhost.exe 0x4
    0	    16	  9084	   utility-network-service
    0	    82	 15492	   gpu-process
    1	   450	 21156	pty-host
    6	    29	  4744	     C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\Plank-mini\AppData\Local\Programs\Microsoft VS Code\07ff9d6178\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    11	  4988	     conpty-agent
    0	    85	  5232	     C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile
    1	     2	 21568	     conpty-agent
    7	  1296	 23264	window [1] (正在运行的扩展 - RogueLike - Visual Studio Code)
    0	     3	 23848	   crashpad-handler
    0	    29	 26180	file-watcher [1]
    0	    91	 27964	shared-process
Workspace Info
|  Window (正在运行的扩展 - RogueLike - Visual Studio Code)
|    Folder (RogueLike): 2725 files
|      File types: py(871) pyc(869) pyi(264) f90(61) h(37) csv(30) txt(29)
|                  f(24) lib(21) pyd(21)
|      Conf files: launch.json(1) settings.json(1)
|      Launch Configs: debugpy(2);
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
4f60g487:31327383
6abeh943:31336334
envsdeactivate2:31464701
editstats-enabled:31346257
cloudbuttont:31379625
aihoversummaries_t:31469308
3efgi100_wstrepl:31403338
use-responses-api:31390855
je187915:31454425
ec5jj548:31422691
cp_cls_t_966_ss:31454198
4je02754:31466945
8hhj4413:31478653
ge8j1254_inline_auto_hint_haiku:31427726
38bie571_auto:31429954
preserve_tokens:31444546
cp_cls_t_1081:31454832
ia-use-proxy-models-svc:31452481
a43f0574a:31442826
e9c30283:31461165
test_treatment2:31471001
control_6dc23131:31467998
idci7584:31464702
showingstats:31481873
i54ji102:31458073
534a6447:31478749
nes-extended-on:31455476
chat:31457767
8hig5102:31480529
ah:31460422
8a2c4887_5_3_codex_prompt:31475326
bg_compact_t:31481650
c-off:31481340
cpptoolsoff-v2:31475362
thinking_effort_h:31478170
i2gc6536:31477819
noaffordance1:31474146
db0gd219:31481871
po_com_t:31481791
ddid_t:31478206
nes-cj-ctx4k:31479276
getcmakediagnosticson:31481766
nes-perm-reb-0:31481661

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage-neededNeeds assignment to the proper sub-team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions