Repository navigation
Closed
Description
Type: Performance Issue
The editor reports 9707MB memory usage in both Process Explorer and btop with no extensions loaded.
VS Code version: Code 1.129.1 (8a7abeb, 2026-07-17T15:35:09Z)
OS version: Linux x64 7.1.3-201.fc44.x86_64
Modes:
System Info
| Item | Value |
|---|---|
| CPUs | AMD Ryzen 9 5900HX with Radeon Graphics (16 x 4266) |
| GPU Status | 2d_canvas: enabled GPU0: VENDOR= 0x10de [Google Inc. (NVIDIA Corporation)], DEVICE=0x24dc [ANGLE (NVIDIA Corporation, NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2, OpenGL ES 3.2 NVIDIA 610.43.03)], DRIVER_VENDOR=NVIDIA, DRIVER_VERSION=610.43.03 ACTIVE 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: disabled_software vulkan: enabled_on webgl: enabled webgpu: enabled webgpu_on_vk_via_gl_interop: enabled webnn: disabled_off |
| Load (avg) | 2, 2, 1 |
| Memory (System) | 31.18GB (17.72GB free) |
| Process Argv | --disable-extensions --crash-reporter-id b98d060e-9954-4142-91d0-f1ac22e6f5a1 |
| Screen Reader | no |
| VM | 0% |
| DESKTOP_SESSION | /usr/share/wayland-sessions/plasma.desktop |
| XDG_CURRENT_DESKTOP | KDE |
| XDG_SESSION_DESKTOP | KDE |
| XDG_SESSION_TYPE | wayland |
Process Info
CPU % Mem MB PID Process
0 3260937167863 85096 code
0 10691597272 85113 zygote
0 85532778173 85158 gpu-process
0 10691597272 85114 zygote
0 0 85116 zygote
1 128299167260 85191 window [1] (Welcome - Visual Studio Code)
0 21383194543 85160 utility-network-service
0 74841180902 85262 shared-process
0 0 85465 /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
0 42766389087 85263 file-watcher [1]
0 64149583630 85286 extension-host [1]
0 32074791815 85362 /usr/share/code/code /usr/share/code/resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=85286
Workspace Info
;
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
6abeh943:31336334
envsactivate1:31551504
gh487529:31544284
cloudbuttont:31379625
3efgi100_wstrepl:31403338
bj468946:31457056
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
c3h7c220:31478652
38bie571_auto:31426784
cp_cls_c_1081:31454833
conptydll_true:31498968
e9c30283:31461165
test_treatment2:31471001
c9b86496:31447327
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
chat:31457767
7e187181:31503455
ghj88844:31499326
ec1eg703:31520046
ddid_c:31478207
hmra_i5g22:31518061
ie3bb177:31543534
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
db5d2638:31499441
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
cdk-lw-on:31524445
f9bf7985:31543584
jh5f2457_c:31540921
8hfba999:31537718
jbcp_cls_pctr_t:31531130
61138546:31518536
cp_intellij_t_nes:31548657
gf14b233:31526830
8hjh2968:31552050
h561g132:31533256
session_8:31532895
ihg5j128:31534457
f412h606:31551416
9gg7f176:31542112
sandbox-ui-on-2:31543161
7642ad28:31552287
fd5dc207:31551400
Metadata
Metadata
Assignees
Labels
No labels
Activity
Sanfrag commentedon Jul 31, 2026
Found out what is using the memory.
I installed a SuperTTC font (something like this) and used one of the bundled font as the editor font family.
Apparently chromium would very eagerly map the entire font file multiple times into shared memory. The font I use is about 800 megabytes, and chromium mapped it into memory about 9 to 13 times. If this really is a bug then it should be a chromium bug. But practically, all I need to do to fix it is to simply uninstall the SuperTTC and install the individual (and smaller) TTF files.