DEV Community

Cover image for What was filling my 1 TB drive: developer and AI tools, not my files
Sparewise App
Sparewise App

Posted on

What was filling my 1 TB drive: developer and AI tools, not my files

My laptop has a 1 TB drive, and one day Windows told me it was nearly full. I hadn't saved anything big. So where did it all go?

When I finally measured it, very little of it was "my files". Most of it was stuff developer and AI tools leave behind and never clean up:

What Size on my PC
Docker Desktop's disk 77 GB
VirtualBox machines 36 GB
Hugging Face model cache 32.5 GB
Recycle Bin 18 GB
npm, pip, uv, Gradle and other caches 15+ GB

Why this happens

  • Package caches (npm, pip, uv, Gradle, NuGet, Cargo...) keep every version you ever downloaded. They are safe to clear: the tool downloads again what it needs.
  • AI models from Ollama, LM Studio and Hugging Face are several GB each. It's easy to try five models and forget four of them.
  • Docker and WSL disks (.vhdx files) grow but never shrink by themselves, even after you delete images or files inside them.
  • Editors and AI coding tools (VS Code, Cursor, Claude, Copilot) keep caches that rebuild by themselves.

What's safe to remove

The rule I ended up with: only remove what comes back by itself. A cache that the tool rebuilds on demand is safe. Your projects, documents, photos, and anything that exists only on this PC are not, no matter how big.

Some quick wins, by hand:

npm cache clean --force
pip cache purge
docker system prune        # read what it lists first
ollama list                # then: ollama rm <model you no longer use>
Enter fullscreen mode Exit fullscreen mode

For WSL and Docker disks, deleting files inside them is not enough; the .vhdx has to be compacted (with diskpart or Optimize-VHD) before Windows gets the space back.

The tool I built for it

Doing this by hand every few months got old, so I built Sparewise, a free Windows app:

  • It shows the drive in parts: what rebuilds itself, what can be downloaded again, Windows itself, and what exists only on this PC.
  • It only offers to clear things that rebuild themselves, each with a tested rule.
  • Deletions go to the Recycle Bin or are set aside for 14 days, so most changes can be put back. Keep backups of anything you cannot afford to lose.
  • It also explains a slow PC honestly (a nearly full drive, memory that is really short, a program growing for days), with no "RAM booster" tricks.
  • It's an MCP server too, so Claude, Codex or Cursor can answer "why is my drive full?" and free space, only within limits you set.
  • It lists local AI models (Ollama, LM Studio, Hugging Face) with when each was last used, and finds the same model stored twice.
  • Free, no account, no telemetry, in 30 languages.

Get it from the Microsoft Store or sparewise.app. Guides for each of the folders above: sparewise.app/guides.

What fills your drive? I'm curious whether it's the same suspects for everyone.


This post was drafted by an AI assistant for the Sparewise developer.

Top comments (0)