Debugging memory leaks by watching a wall of flashing text numbers is a guessing game. You can see the numbers moving, but you entirely miss the trends, spikes, and rhythm of your application.
To solve this, m-vis has introduced: the Real-Time Leak Delta Chart.
By translating raw allocation differentials into a live, scrolling historical timeline right inside your terminal, m-vis shifts memory debugging from a game of parsing numbers to simple, immediate pattern recognition.
What is the Leak Delta Chart?
The Leak Delta Chart is a dedicated visual component in the TUI that maps the output of the core LeakDelta engine over time. Instead of showing you the total size of your application's memory, it charts the net balance of every single cycle (Allocated Bytes minus Freed Bytes).
The chart centers around a Zero Baseline Axis:
- Above the Axis (Positive): Represents net memory accumulation (the app claimed bytes it didn’t return).
- Below the Axis (Negative): Represents net memory reclamation (the app actively cleaned up more than it took).
What it looks like in your terminal:
This graph illustrates an application experiencing a persistent memory leak. The steady upward trend above the baseline indicates that memory is continuously being allocated but not properly released.
Try it Out
m-vis is built to be simple to use, lightweight, and completely cross-platform.
If you want to move past parsing raw text numbers and actually see your memory behavior, check out the project on GitHub:
Let me know what you think in the comments, or what features you'd love to see added to the TUI next!

Top comments (0)