Repository: vscode
Issue: Codes Crashes after about 15 Minutes
Labels: bug,freeze-slow-crash-leak,terminal-process


Type: <b>Performance Issue</b>

Hello,
i am trying to code a Pythen Application. But VS Code keeps consinstently crashing after about 15 Minutes. I have a core dump from journalctl. All Extensions (Not the Python ones) are disabled.

Here is the beginning of the Core Dump:
Nov 22 00:19:11 debian plasmashell[79249]: <--- Last few GCs --->
Nov 22 00:19:11 debian plasmashell[79249]: [79249:0x38dc0011c000]  1375313 ms: Mark-Compact 3664.0 (4086.1) -> 3658.4 (4087.6) MB, pooled: 1 MB, 35.18 / 0.00 ms  (average mu = 0.995, current mu = 0.766) task; scavenge might not succeed
Nov 22 00:19:11 debian plasmashell[79249]: [79249:0x38dc0011c000]  1375467 ms: Mark-Compact 3665.7 (4087.6) -> 3659.9 (4089.3) MB, pooled: 0 MB, 39.36 / 0.00 ms  (average mu = 0.990, current mu = 0.745) task; scavenge might not succeed
Nov 22 00:19:11 debian plasmashell[79249]: <--- JS stacktrace --->
Nov 22 00:19:11 debian plasmashell[79249]: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
Nov 22 00:19:11 debian plasmashell[79249]: ----- Native stack trace -----
Nov 22 00:19:11 debian plasmashell[79275]: [1122/001911.776191:ERROR:elf_dynamic_array_reader.h(64)] tag not found
Nov 22 00:19:11 debian plasmashell[79275]: [1122/001911.776530:ERROR:elf_dynamic_array_reader.h(64)] tag not found
Nov 22 00:19:11 debian plasmashell[79275]: [1122/001911.776682:ERROR:elf_dynamic_array_reader.h(64)] tag not found
Nov 22 00:19:11 debian plasmashell[79275]: [1122/001911.792050:ERROR:directory_reader_posix.cc(43)] opendir /home/marvin/.config/Code/Crashpad/attachments/a2b04a1d-7e42-44f8-9285-1bc787e4b08c: No such file or directory (2)
Nov 22 00:19:19 debian systemd-coredump[83388]: [🡕] Process 79249 (code) of user 1000 dumped core.

If possible i can send the rest of the dumped Core too.
But this happens at almost exactly 15 Minutes every time.
Last one: Consumed 14min 55.100s CPU time
Before: Consumed 16min 43.285s CPU time.
And before that: Consumed 14min 27.663s CPU time.

If you need more informate i can provide everything you need.
Thanks in advance

VS Code version: Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z)
OS version: Linux x64 6.1.0-27-amd64
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|AMD Ryzen 7 3800X 8-Core Processor (16 x 2199)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: disabled_software<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: disabled_off<br>webnn: disabled_off|
|Load (avg)|1, 2, 2|
|Memory (System)|46.96GB (38.32GB free)|
|Process Argv|--crash-reporter-id 9e41d979-2ff7-435d-b01a-c6add81964e1|
|Screen Reader|no|
|VM|0%|
|DESKTOP_SESSION|plasma|
|XDG_CURRENT_DESKTOP|KDE|
|XDG_SESSION_DESKTOP|KDE|
|XDG_SESSION_TYPE|x11|
</details><details>
<summary>Process Info</summary>

```
CPU %	Mem MB	   PID	Process
    0	   192	 83645	code main
    0	     0	 83649	   zygote
    0	   240	 83686	     gpu-process
    0	     0	 83746	       broker
    0	     0	 83650	   zygote
    0	     0	 83652	     zygote
    0	   337	 83707	window [1] (camper.py - camper - Visual Studio Code)
    0	    48	 83691	   utility-network-service
    0	   192	 83784	extensionHost [1]
    0	     0	 83882	     /home/marvin/.vscode/extensions/ms-python.python-2024.20.0-linux-x64/python-env-tools/bin/pet server
    0	   144	 83796	shared-process
    0	     0	 84070	     /bin/sh -c /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	    96	 83797	fileWatcher [1]
    0	    96	 83851	ptyHost
    0	     0	 83868	     /usr/bin/bash --init-file /usr/share/code/resources/app/out/vs/workbench/contrib/terminal/common/scripts/shellIntegration-bash.sh
    0	     0	 83973	     /usr/bin/bash --init-file /usr/share/code/resources/app/out/vs/workbench/contrib/terminal/common/scripts/shellIntegration-bash.sh
```

</details>
<details>
<summary>Workspace Info</summary>

```
|  Window (camper.py - camper - Visual Studio Code)
|    Folder (camper): 42 files
|      File types: png(19) py(8) test(3) suo(1) json(1) md(1) old(1) sh(1)
|      Conf files:;
```

</details>
<details><summary>Extensions (3)</summary>

Extension|Author (truncated)|Version
---|---|---
debugpy|ms-|2024.12.0
python|ms-|2024.20.0
vscode-pylance|ms-|2024.11.2


</details>
<!-- generated by issue reporter -->