Skip to content

getting following error Worker terminated due to reaching memory limit: JS heap out of memory (at tsx element $S) #253604

@Efaraz001

Description

@Efaraz001

Type: Performance Issue

When executing any prompt

Extension version: 0.28.4
VS Code version: Code 1.101.2 (2901c5a, 2025-06-24T20:27:15.391Z)
OS version: Windows_NT x64 10.0.26100
Modes:

System Info
Item Value
CPUs 13th Gen Intel(R) Core(TM) i7-1365U (12 x 2688)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.66GB (5.23GB free)
Process Argv . --crash-reporter-id fbbd3b96-fceb-40ed-bcfe-cef669b67ecf
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    0	   109	 17168	code
    0	     5	  8400	   crashpad-handler
    0	    54	 10912	pty-host
    0	    57	  3520	     C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\Elma.Faraz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	     8	  9172	     conpty-agent
    0	     7	 12916	     conpty-agent
    0	    76	 13308	     C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\Elma.Faraz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	     1	 13804	     conpty-agent
    0	     2	 15252	     conpty-agent
    0	     8	 15768	     C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\Elma.Faraz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    98	 20812	     C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\Elma.Faraz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    13	 14584	       "D:\agents\LSPCODESTAR\env\Scripts\python.exe" .\simple_generate.py
    0	    77	 13888	         "C:\Users\Elma.Faraz\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\python.exe" .\simple_generate.py
    0	    59	 21560	     C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\Elma.Faraz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	     8	 29064	     conpty-agent
    0	     7	 30468	     conpty-agent
    0	    14	 31452	     C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\Elma.Faraz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    1	   393	 11508	window [4] (simple_generate.py - LSPCODESTAR - Visual Studio Code)
    0	    59	 13928	   utility-process
    0	    18	 17108	   utility-network-service
    0	    91	 20216	extension-host [1]
    0	     9	 19848	     "C:\Users\Elma.Faraz\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\Elma.Faraz\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=20216
    0	    23	 23580	     "C:\Users\Elma.Faraz\AppData\Local\Programs\Microsoft VS Code\Code.exe" c:\Users\Elma.Faraz\.vscode\extensions\streetsidesoftware.code-spell-checker-4.0.47\packages\_server\dist\main.cjs --node-ipc --clientProcessId=20216
    0	    16	 28500	     electron-nodejs (bundle.js )
    0	    18	 32136	     c:\Users\Elma.Faraz\.vscode\extensions\sourcery.sourcery-1.37.0-win32-x64\sourcery_binaries\install\win\sourcery.exe lsp
    0	     1	  6252	       C:\Windows\system32\conhost.exe 0x4
    0	     7	 33336	     electron-nodejs (server.js )
    1	   182	 26072	   gpu-process
    0	    72	 26752	shared-process
    0	    82	 26912	file-watcher [4]
    0	    18	 28272	file-watcher [1]
    0	   216	 30544	window [1] (impact_analysis_output.json - SDLC_Project - Visual Studio Code)
    0	  1805	 34304	extension-host [4]
    8	   713	  6440	     electron-nodejs (bundle.js )
    0	    80	 15624	     "C:\Users\Elma.Faraz\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\Elma.Faraz\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=34304
    0	   170	 23232	     c:\Users\Elma.Faraz\.vscode\extensions\sourcery.sourcery-1.37.0-win32-x64\sourcery_binaries\install\win\sourcery.exe lsp
    0	     7	 11876	       C:\Windows\system32\conhost.exe 0x4
    0	   221	 29480	     "C:\Users\Elma.Faraz\AppData\Local\Programs\Microsoft VS Code\Code.exe" c:\Users\Elma.Faraz\.vscode\extensions\streetsidesoftware.code-spell-checker-4.0.47\packages\_server\dist\main.cjs --node-ipc --clientProcessId=34304
    0	   124	 35016	     electron-nodejs (server.js )
Workspace Info
|  Window (simple_generate.py - LSPCODESTAR - Visual Studio Code)
|  Window (impact_analysis_output.json - SDLC_Project - Visual Studio Code)
|    Folder (LSPCODESTAR): more than 21429 files
|      File types: py(7960) pyc(7905) pyi(345) h(140) txt(121) nii(96) pyd(92)
|                  gz(78) lib(65) f90(61)
|      Conf files:
|    Folder (SDLC_Project): 282 files
|      File types: js(63) pyc(52) py(51) md(14) json(13) docx(11) txt(7)
|                  png(5) log(4) gitignore(3)
|      Conf files: github-actions(1) package.json(1);
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt551:31249599
vscod805:30301674
binariesv615:30325510
vscaat:30438848
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
pythonrstrctxt:31112756
nativeloc2:31192216
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31333650
e5gg6876:31282496
pythoneinst12:31285622
bgtreat:31268568
4gafe986:31271826
c7cif404:31314491
e77a2192:31326280
pythonpulldiag:31335739
996jf627:31283433
pythonrdcb7:31303018
usemplatestapi:31297334
0aa6g176:31307128
7bj51361:31289155
747dc170:31275177
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
pylancequickfixf:31329273
9d2cg352:31339597
he899328:31338106
d7aab740:31338110
usemarketplace:31336439
nesew2to5:31336538
agentclaude:31335815
nes-diff-11:31337487
testaa123:31335226
6abeh943:31336334
yijiwantestdri0626-t:31336930

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugchatfreeze-slow-crash-leakVS Code crashing, performance, freeze and memory leak issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions