I think every PC owner eventually runs into a low-disk-space notification on their system drive. At first glance, these messages seem minor, right up until they start causing real problems. That's exactly what happened to me. I needed to quickly free up space on my smartphone from a pile of accumulated photos and videos, but my laptop's drive didn't have enough room to move them there.
Deciding to get to the bottom of it, I started checking exactly what was taking up space on my drive. To my surprise, the problem wasn't limited to temporary files and system cache. A significant chunk of space was taken up by old downloads, forgotten projects, and photos and videos that had piled up in all sorts of folders over years of using the computer. Some of these files had long since lost any value, while others had simply gotten lost in the shuffle.
On top of that, I noticed that once a drive fills up "to the brim," its performance drops. As I dug further into the topic, it turned out that running low on free space has other, more serious consequences too. For example, it limits how much you can grow the page file, the wear-leveling algorithms on an SSD work less effectively, and the operating system can freeze solid while installing the next round of updates.
I should note that it's a mistake to think low disk space is caused solely by "system junk" or a disorganized pile of files and unneeded programs. In reality, it's a more complex problem. On one hand, operating systems (Windows, macOS, Linux) accumulate temporary files, caches, logs, update leftovers, and other service data over time. On the other hand, a significant share of disk space can be taken up by unstructured user data — scattered downloads, multi-gigabyte videos, and hundreds of duplicate photos that appear every time you import shots from a smartphone.
In this guide, I'll share my experience and walk step by step through how to diagnose what's taking up disk space, safely clean unneeded data out of the operating system, and bring order to your own media archive.
How to Diagnose Your Disk and Find Out What's Taking Up Space, and How Much
Before deleting files at random, I decided to run an "audit" of my drive to get a clear picture of what was taking up space. I first tried using the standard folder properties in Windows File Explorer, but that approach turned out to be too tedious and didn't give me the full picture. I had to open folders one by one, check their sizes, and write down the results by hand. On top of that, some files live in hidden system directories that don't always show up in File Explorer.
So, for a more thorough analysis, I decided to use specialized tools — disk space analyzers. It turned out, though, that these programs can use fundamentally different scanning methods.
Recursive directory traversal. The program queries each folder one after another. This method is universal (it works on any file system, network drive, or flash drive), but scanning large drives can take a long time.
Direct reading of the NTFS Master File Table. The utility reads the binary NTFS file system table directly, bypassing standard operating-system calls. This lets it scan a multi-terabyte drive almost instantly (in 2–5 seconds).
The difference between these approaches isn't just about speed — it also affects file-system compatibility, how complete the results are, and the available analysis options. So I decided to try both types of tools and compare them in practice.
The Best Tools for Analyzing Disk Space
Which specific solution is right for analyzing disk space depends not just on the scanning method used, but also on how the interface is organized. Some programs focus on graphical charts, while others offer the familiar tree view of folders with detailed statistics.
Support for different file systems, the ability to view hidden and system objects, ease of navigation, and extra features all matter a lot too.
Let's look at a few interesting solutions for Windows and macOS that can help you figure out what's eating up your storage and where the heaviest files are hiding.
WizTree (Windows)
I was impressed by how fast WizTree analyzes disk space usage on Windows. That's because the program uses the method of directly reading the Master File Table (MFT) — the main NTFS file table where the operating system stores information about files and folders. As a result, WizTree can scan multi-terabyte local drives in seconds.

The analysis results are shown in several views at once. The top of the interface shows a tree view of folders along with how much space they take up, while below it sits a graphical disk map. This map is made up of rectangles of different sizes, each one corresponding to a specific file or group of files. The bigger the object, the larger the area it takes up on the chart.
Pros of WizTree
- Fast scanning of NTFS drives.
- Clear visualization that makes it easy to spot large files.
- Convenient sorting of folders and files by space used.
- The ability to search for files by various parameters, including extension and size.
- Support for working with individual folders, network resources, and other file systems using an alternative scanning method.
Cons of WizTree
- Maximum performance is only achieved when working with NTFS. Other file systems rely on a slower scanning method.
- The interface is functional, but not the most modern in terms of design.
- Full access to some system areas may require running the program as an administrator.
WinDirStat (Windows)
Despite all its advantages, WizTree is proprietary software. If, like me, you prefer free and open-source solutions, WinDirStat is worth a look. It's a classic, free, open-source utility that's been used to analyze disk space on Windows for many years.
Unlike the previous tool, WinDirStat doesn't access the MFT directly — it performs a sequential, recursive scan of folders instead. As a result, scanning large drives can take longer, especially if they store hundreds of thousands or millions of files. On the plus side, this approach lets it analyze different file systems and network drives.

WinDirStat's interface is split into three main areas. On the left is a folder tree showing their sizes, on the right is a list of file extensions with overall statistics, and at the bottom is a color-coded map.
When you select an object on the map, the program automatically jumps to the matching file in the folder tree. This makes it easy to figure out exactly which data is taking up most of your drive.
Pros of WinDirStat
- A completely free, open-source program.
- A clear visualization of your drive's structure.
- The ability to analyze not just NTFS, but other file systems too.
- Detailed statistics by file type and extension.
- A convenient link between the graphical map and the folder tree.
- The ability to delete unneeded files directly from the program's interface.
Cons of WinDirStat
- Slow scanning of drives due to the recursive traversal of the file system.
- The interface can feel sluggish when working with large amounts of data.
TreeSize
TreeSize uses a somewhat different approach to visualizing used and free disk space. Instead of focusing on graphical charts, it puts the main emphasis on a tree-structured folder view with detailed statistics.
TreeSize can scan drives, individual folders, and network storage, showing folder sizes, file counts, and the percentage of space used. Convenient sorting lets you quickly identify the folders taking up the most space and dig through their contents one step at a time.
One interesting feature of TreeSize is its integration into the Windows 11 File Explorer context menu. This lets you launch an analysis directly from the folder you need, without first opening the app's interface or manually selecting a drive.

That said, the free version of TreeSize only offers the basic features needed for home diagnostics. For more demanding tasks, there's TreeSize Professional, which offers advanced analysis tools and the ability to automate regular checks.
Pros of TreeSize
- A convenient tree view of the file structure.
- Integration into the Windows File Explorer context menu.
- The ability to quickly analyze individual folders and network locations.
- Sorting data by size, file count, and other parameters.
- The ability to export results for further review.
Cons of TreeSize for diagnosing disk space
- Some useful features are only available in the paid version.
- Despite offering only basic diagnostic features, the free version's interface feels cluttered.
DaisyDisk (macOS)
Besides my Windows computer, I also have a MacBook that I mostly use while traveling. But it occasionally runs into low-disk-space issues too, so I had to look for a diagnostic tool for macOS as well.
DaisyDisk is one of the best-known disk space analyzers for the Mac. The program takes a different approach to visualization than the solutions covered above: instead of the familiar folder tree, it uses an interactive circular diagram. This setup reminded me of Filelight from the KDE project on Linux distributions.

Each segment of the diagram corresponds to a specific folder or file, and its size is proportional to the space it takes up. Nested folders are shown as separate sectors, so you can progressively drill down into your drive's structure and visually track down where the largest ones are hiding.
You can add the items you find to a dedicated pre-deletion area. This lets you first review potentially unneeded data, then permanently delete it in one action, without constantly switching between Finder windows.
Pros of DaisyDisk
- A modern, intuitive interface.
- A convenient, interactive diagram for exploring nested folders.
- Fast navigation.
- The ability to collect the files you find and delete them after reviewing.
- Support for both internal and external drives.
- Good integration with the macOS ecosystem.
Cons of DaisyDisk
- The program is paid; free use is limited to a trial mode.
- The interface and workflow are designed exclusively for macOS.
- Analyzing certain system areas requires granting extra permissions.
- The visualization can be less convenient when you need to compare many folders and their contents at the same time.
A Full Operating System Cleanup
After diagnosing what was taking up space on my disk and finding the "biggest" folders and files, I noticed that system data made up the largest share. So I decided to start by cleaning up the operating system itself.
Cleaning Up the Windows WinSxS Component Store
The C:\Windows\WinSxS folder stores backup versions of system components, drivers, and old updates. Manually deleting files from it is strictly forbidden. To clean it safely, I used the built-in DISM command-line utility.
To make sure everything works correctly, open Command Prompt (not a PowerShell terminal) as an administrator and enter the following command:
Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore

In my case, the utility showed that 7.5 GB on the disk was made up of backup copies of previous updates and disabled Windows components that could be safely removed. To do that, I ran the base-reset procedure by entering the following command:
Dism.exe /Online /Cleanup-Image /StartComponentCleanup /ResetBase
Note! The /ResetBase flag permanently removes previous versions of system packages, freeing up the maximum amount of gigabytes, but it also makes it impossible to roll back previously installed Windows updates.
Entering these simple commands instantly freed up just over 5 GB of disk space.

Turning Off Hibernation and "Fast Startup"
The hiberfil.sys file reserves space to save the state of RAM when the system goes into sleep/hybrid mode and for "Fast Startup." On desktop PCs with an SSD, though, this file is often unnecessary.
To completely disable hibernation and instantly free up anywhere from 4 to 32 GB (depending on how much RAM you have), enter the following in an administrator command prompt:
powercfg /hibernate off

I should note that disabling hibernation on a laptop isn't recommended, especially if you frequently run it on battery power. For example, if the battery drops to a critical 5–7%, the system won't be able to automatically hibernate to save your work. As a result, the laptop will simply shut off abruptly, and any open documents or tabs will be lost.
Using the "Storage Sense" Feature
Besides updates, Windows also accumulates other temporary files — in particular, from Delivery Optimization, image thumbnails, and installed programs. Fortunately, you don't need to run any commands to delete them, since there's a built-in tool for that right in Settings.

From the same place, you can also set up automatic disk space cleanup on a schedule.

How to Free Up Disk Space on macOS and Linux
If you use macOS or a Linux distribution and think your system doesn't accumulate "junk data," you're mistaken. It's true that, historically, there's less of it, but it's still there.
On macOS, the main space hog in the "System Data" category is Time Machine's local snapshots and various caches.
You can clear hidden Time Machine snapshots through Terminal with the command:
tmutil thinlocalsnapshots / 999999999999 4
You should also regularly clear out the contents of the ~/Library/Caches/ folder.

On Linux distributions, package manager caches and systemd journal logs take up a significant amount of space.
You can clear the package cache and unneeded dependencies with the following command: sudo dnf clean all (for Fedora) or sudo apt autoremove && sudo apt clean (Ubuntu/Debian/Linux Mint).
To cap the size of the system journal at 500 MB:
sudo journalctl --vacuum-size=500M
Optimizing and Sorting Through Your Home Media Library with Tonfotos
Once I finished cleaning up the system folders, I ran another diagnostic check on my disk space. It showed that the next big disk hog was photos and videos copied over from smartphones and cameras. On top of that, they turned out to be scattered across different folders, mixed in with other files.
Looking at all of this, I realized that without a dedicated solution, sorting through that kind of chaos without risking accidentally deleting important memories would be next to impossible. I picked Tonfotos as my tool for organizing photos, but even here it took a few passes before I managed to get the archive in order.
After launching it, the program immediately suggested adding the most common folders where photos might be stored to the library. These suggestions suited me fine, so I just clicked "Done."

It took a little while for the app to finish indexing all the photos. Even at this stage, I could already browse my photos in chronological order, see shooting locations on an interactive map, organize things by tags and albums, and label the people whose faces the built-in AI had identified.

Since my main goal was to free up disk space, I went straight to the duplicate finder. This feature is in Tonfotos' main menu. The program scans your media library, compares files by content and size, and groups together identical copies found in different folders.

After that, I simply selected the duplicates in the corresponding album and deleted them from the library.

As a result, I managed to free up disk space, but the rest of my photos were still scattered across various folders, since creating a Library in Tonfotos doesn't physically move them. For that, the program has a separate tool, aptly called "Move to Main Archive." It's available through the context menu on a folder or photo inside the "Library." You just need to specify which of your previously added folders should serve as the main one, then start the move.

You'll need to repeat this step for every folder where the program found photos. If there are a lot of them, it will take some time, but in the end you'll have a fully cataloged photo archive, where every photo sits in a folder named after the date it was taken — not just in Tonfotos' virtual "Library," but in your computer's actual file system too.

Conclusion
Running low on disk space is a great excuse not just to run another cleanup, but to rethink how you store data on your computer altogether. Over time, even the roomiest drive turns into a dumping ground where forgotten downloads, old projects, temporary files, and valuable photos you'd long forgotten about all end up side by side.
The most sensible approach to staying organized is to split computer maintenance into two parts. System data and temporary files should be checked periodically using the operating system's built-in tools, while your own documents, photos, and videos need a clear storage structure. This will not only free up space, but also help you avoid running into the same problem again a few months down the line.
And most importantly — don't forget about backups. Freeing up space shouldn't come at the expense of keeping your data safe, especially when it comes to family photos that can never be recovered.
Frequently Asked Questions (FAQ)
Why does drive C fill up so fast on Windows 11?
The system drive can gradually fill up due to temporary files, app caches, Windows update logs, backups, and old versions of system components.
How much free space should I keep on an SSD?
There's no universal rule — the right amount depends on your drive's capacity, your operating system, and how you use your computer. For comfortable day-to-day use, it's worth keeping at least 10–20% of your capacity free.
How can I find the biggest files on my computer?
The easiest way is to use a disk space analyzer. WizTree, WinDirStat, and TreeSize let you scan your drive, sort folders by size, and find the files taking up the most space. On macOS, DaisyDisk handles the same job.
Where's better to store photos and videos: on the computer or an external drive?
For small collections, your computer's internal drive works just fine. But as your home photo archive grows, it becomes more convenient to use a separate HDD, SSD, or a NAS network storage device.
How can I free up disk space with Tonfotos?
Tonfotos lets you find and delete duplicate photos scattered across different folders without risking the accidental loss of your originals. It also helps you gather files from different sources into a single archive, making it easier to search for them and clean up your photo archive going forward.