ramtree
A memory viewer for the terminal, built on the same interface as disktree. Every process is grouped under the one that started it, and each group’s size includes everything beneath it, so a browser and its dozens of helpers show as one line you can open. Mark any number of processes and ask them to close, or force-kill them, behind a confirmation that shows where each one sits in the tree.
cargo install ramtree
Without elevation, Windows hides the memory of services and other users’ processes, and macOS hides root’s; they count as zero, and the header says how many. Run it elevated to see more.
In the terminal
See what’s using your RAM, and end it safely.
Processes are grouped under whatever started them, so a browser and its dozens of helpers show as one line you can open.
All processes — 25.3 GB, 425 processes (RAM 51.2 GB of 63.1 GB in use) (148 unreadable)
Memory % Processes Name
7.9 GB 31.4% ███ 226 wininit.exe (1976)\
6.9 GB 27.4% ██▌ 74 explorer.exe (12620)\
4.5 GB 17.6% ██ 28 zen.exe (15328)\
1000.1 MB 3.9% ▌ 6 Discord.exe (70152)\
↑↓ move enter open backspace up space mark c clear d end process D force kill r refresh q quit
- Enter
- Open a process group
- Backspace
- Go up
- Space
- Mark, then move on
- d
- Ask marked processes to close
- D
- Force kill them
- r
- Refresh in place
Capabilities
What it does.
Engineers who want ramtree to fit into the workflow they already have.
- 01
Processes grouped under their parents, with each group sized by everything it started
- 02
Mark several processes, then ask them to close or force-kill them, after a confirmation that shows each one’s place in the tree
- 03
Won’t end its own terminal, and checks start times so a reused PID is never the wrong target
- 04
Refreshes in place after a kill without losing your position
Specification
What it’s built with, and when.
Pulled from the repository each time this site is built.
- State
- Shipping
- Discipline
- Developer tooling
- Shape
- Developer tooling
- Started
- Oct 2026
- Last change
- Oct 2026
- Commits
- 2
- Rust
- TUI
- Rust 100%
Related work
Built alongside ramtree
Next
Install ramtree
It’s on crates.io. You’ll need Rust 1.95 or newer.
cargo install ramtree
Without elevation, Windows hides the memory of services and other users’ processes, and macOS hides root’s; they count as zero, and the header says how many. Run it elevated to see more.
Questions, or something it doesn’t do yet? Email dmoore@