Skip to content

tsgo.exe sometimes consumes 55GB(!) of memory #10756

@Zlatkovsky

Description

@Zlatkovsky

Issue Description

When using tsgo.exe (version 7.0.0-dev.20250630.1) with the latest VS Code insider (1.102.0-insider), the memory consumed sometimes balloons to up to 55GB! (Good thing my machine has 64GB).
And even in "normal" mode, it often hovers around 18GB.

The image below was from when it was ramping up to reach 55GB eventually; this is midway through:
Image

It has also caused my VS Code to crash:
Image

And on two occasions my computer froze completely and required me to forcefully reboot it (though at that time, tsgo was at a relatively lower memory consumption, so maybe that wasn't related; or at least, not to memory, but something else in tsgo/VSCode)

Version: 1.102.0-insider (user setup)
Commit: 6ccdb0f1561e1723f5ff5dfb1e3c8c037b60e700
Date: 2025-06-30T05:03:46.894Z
Electron: 35.6.0
ElectronBuildId: 11847422
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Windows_NT x64 10.0.26120

Reproduction

This is happening on a monorepo project that has a couple hundred individual packages. I work at Microsoft, feel free to reach out to me (look me up by name, Michael Zlatkovsky).

Relevant log output (if applicable)

Environment

OS: Windows 11 10.0.26120
CPU: (24) x64 12th Gen Intel(R) Core(TM) i9-12900K
Shell: Not Found
node: 22.16.0
npm: 10.9.2
nativescript: Not Found

# android
java: Not Found
ndk: Not Found
apis: Not Found
build_tools: Not Found
system_images: Not Found

# ios
xcode: Not Found
cocoapods: Not Found
python: Not Found
python3: Not Found
ruby: Not Found
platforms: Not Found

Dependencies

"dependencies": {
  "@typescript/native-preview": "^7.0.0-dev.20250617.1"
},
"devDependencies": {}

Please accept these terms

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy