Discovery of a 64GB Memory Leak in VS Code Despite Never Using the Software
By
brucedawson
A baker's-dozen of insight crammed into one ring.
Summary
The author describes discovering a massive memory leak in VS Code that consumed 64GB of memory and had no upper limit, despite never having used the software and the leak being invisible in Task Manager. The discovery was made during lockdown while working remotely, using a custom memory monitoring tool that revealed the leak through system-wide memory consumption patterns rather than individual process monitoring.
Key quotes
· 5 pulledI found a huge memory leak in VS code, totalling around 64 GB when I first saw it, but with no actual limit on how high it could go.
The memory leak didn't show up in Task Manager – there was no process whose memory consumption was increasing.
I had never used VS Code. In fact, I have still never used it.
How did I find an invisible memory leak in a tool that I have never used?
This was during lockdown and my whole team was working from home.
You might also wanna read
Investigating C++ Memory Allocation: The 72KB Emergency Pool for Exception Handling
The article investigates why the first memory allocation in C++ programs often appears to be 72KB, revealing that this is due to the C++ sta
Technical Analysis: How Ghostty's Memory Leak Was Identified and Fixed
The article details the discovery and resolution of a significant memory leak in Ghostty, a terminal emulator. Users reported extreme memory
Debugging an Elusive emacsclient Bug: When Remote Commands Crash the Main Editor
The article describes a debugging story where the author tracked down an elusive bug in emacsclient, a utility that communicates with the ma
blog.plover.com·6mo agoAutomated Software Debugging: Tools and Techniques for Finding and Fixing Bugs
This book introduces automated software debugging techniques that help locate and fix software bugs automatically. It covers recent advancem
Improving Print-Based Debugging Techniques for Developers
The article discusses the challenges of print-based debugging, particularly the issue of spammy output, and explores ways to improve this me
Spring Framework Release Train Rescheduled to June 8-14 With Critical Security Patches
The Spring development team has announced that the May release train has been rescheduled and condensed to June 8-14, 2026. Most projects wi
