Skip to content

Memory leak python 3.8 #536

@danmash

Description

@danmash

Type: Bug

I see high memory consumption.
I created an issue in VScode repo microsoft/vscode#228123
But after some investigation, I suppose the reason for the memory leak is the black formater. I'll add logs in the comment.

Screenshot 2024-09-10 at 16 29 34

launch.json

VS Code version: Code 1.93.0 (Universal) (4849ca9bdf9666755eb463db297b69e5385090e3, 2024-09-04T13:02:38.431Z)
OS version: Darwin arm64 23.6.0
Modes:

System Info
Item Value
CPUs Apple M2 (8 x 2400)
GPU Status 2d_canvas: unavailable_software
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: disabled_software
video_encode: disabled_software
webgl: unavailable_software
webgl2: unavailable_software
webgpu: unavailable_software
webnn: disabled_off
Load (avg) 3, 4, 8
Memory (System) 16.00GB (0.87GB free)
Process Argv --crash-reporter-id 2743951a-a45d-40d1-8392-760a1943701a
Screen Reader no
VM 0%
Extensions (36)
Extension Author (truncated) Version
ng-template Ang 18.2.0
vscode-django bat 1.15.0
scratchpads bue 1.0.0
vscode-pytest Cam 0.1.1
circleci Cir 2.8.4
vscode-postgres cko 1.4.3
macos-modern-theme dav 2.3.19
python-environment-manager don 1.2.4
vscode-open-in-github fab 2.3.0
vscode-pull-request-github Git 0.96.0
cloudcode goo 2.17.0
terraform has 2.32.3
vsc-nvm hen 0.0.3
rest-client hum 0.25.1
prettier-sql-vscode inf 1.6.0
intellij-idea-keybindings k-- 1.7.2
vsc-python-indent Kev 1.18.0
MagicPython mag 1.1.0
python-path mge 0.0.14
git-graph mhu 1.30.0
JetBrainsIcons Mos 1.0.5
vscode-edge-devtools ms- 2.1.5
black-formatter ms- 2024.2.0
debugpy ms- 2024.10.0
isort ms- 2023.10.1
python ms- 2024.14.0
vscode-pylance ms- 2024.9.1
js-debug-nightly ms- 2024.9.517
vscode-python-typehint njq 1.5.1
markdown-preview-enhanced shd 0.8.14
code-spell-checker str 3.0.1
python-extended-snippets tus 0.0.1
intellicode-api-usage-examples Vis 0.2.8
vscodeintellicode Vis 1.3.1
gitblame wad 11.0.1
pretty-ts-errors Yoa 0.6.0

(2 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
vscrpc:30673769
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
945dj816:31013170
a69g1124:31058053
dvdeprecation:31068756
dwnewjupyter:31046869
impr_priority:31102340
refactort:31108082
pythonrstrctxt:31112756
flighttreat:31134774
wkspc-onlycs-t:31132770
nativeloc2:31134642
wkspc-ranged-c:31125598
cf971741:31134768
fje88620:31121564

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugtriage-neededIssue is not triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions