You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 1, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 1, 2026. It is now read-only.
Memory usage spiked in version 7.0.0-dev.20260416.1 #3423
I am seeing a massive memory leak in VSCode TypeScript Native Preview this morning. Seems to eat up several gigabytes of RAM as I type in the editor and it autocompletes. The memory is never freed until I close VS Code. Continues to grow until I'm out of memory.
Activity
jakebailey commentedon Apr 16, 2026
That is a wide range.
If you are able to reproduce consistently, could you build from source and bisect?
jakebailey commentedon Apr 16, 2026
And are you referring to the editor? CLI compilation?
sbking commentedon Apr 16, 2026
I am seeing a massive memory leak in VSCode TypeScript Native Preview this morning. Seems to eat up several gigabytes of RAM as I type in the editor and it autocompletes. The memory is never freed until I close VS Code. Continues to grow until I'm out of memory.
jakebailey commentedon Apr 16, 2026
When this happens, can you please run the "Heap Profile" command in the command palette and upload it?
jakebailey commentedon Apr 16, 2026
Or, build #3425 from source and see if that makes the problem go away.
sbking commentedon Apr 16, 2026
Here are two so hopefully it's diffable
52774-1776354170343-heapprofile.pb.gz
52774-1776354270931-heapprofile.pb.gz
jakebailey commentedon Apr 16, 2026
If this is easily reproducible, could you also try:
In your user settings?
sbking commentedon Apr 16, 2026
That setting did not help. Here is a heap profile with it disabled:
93277-1776355068999-heapprofile.pb.gz
jakebailey commentedon Apr 16, 2026
Stephen Brian King (@sbking) Can you try again with the version we just put out on the marketplace?
pedro757 commentedon Apr 18, 2026
Jake Bailey (@jakebailey) I think it improved a bit in the latest version, but still not as good as version 20260408, latest version uses 50% more RAM
jakebailey commentedon Apr 18, 2026
There's nothing else that should have affected that; if possible a repro would be good, or a bisect