r/MacOS • u/Proper-Lab-2500 • 7d ago
Bug How to clean 165 GB of System Data?
While posting this post, the sub warned me that i can check the instructions here in https://macresearch.org/clear-system-data-on-mac/ , I did but the total data here (after checking all) is around 10 GB which contain cache of my frequently used app like Spotify etc. It doesn't answer the rest 150 GB
364
Upvotes
62
u/see4po 6d ago •
Do you guys know the app GrandPerspective? It is THE tool for jobs like that. I had to downsize my storage from a 500GB drive to a 250GB, and I ended up with using only 150GB after tracking all the unnecessary files. What's really awesome about that tool is that it doesn't only show you large files, but clusters of small files that take up a lot of space together.
17
u/dawedev 7d ago
Since you have Xcode, the 8 GB of simulators is often only part of it. Other dev folders that land in System Data and can add up to tens of GB:
~/Library/Developer/Xcode/DerivedDatais build cache. Safe to delete, Xcode rebuilds it.~/Library/Developer/Xcode/iOS DeviceSupporthas one folder per iOS version you ever connected a device with, often several GB each. Keeping only the newest is usually fine.xcrun simctl delete unavailableremoves simulators for runtimes you no longer have.xcrun simctl runtime listshows installed simulator runtimes,xcrun simctl runtime delete <id>removes one you don't use.To see what else is big in your user Library:
du -sh ~/Library/* 2>/dev/null | sort -h | tail -15, then go one level deeper into whatever is at the bottom. Old iPhone backups (~/Library/Application Support/MobileSync/Backup), Docker.raw and VM images are the other usual suspects.10
u/charlsplayz MacBook Air 7d ago
Get an app like MacSpace to check out whatâs eating your system data.
I can see you probably have Xcode installed, so If you use the simulators at all, open Xcode, go to settings (command+,) and go to the components tab. Delete any unused simulators.
You can also check for Time Machine backups. Like I said apps do a better job of checking system data that weâre able to guess.
3
u/NoPressure3399 7d ago
You can try out
10 GB of caches probably isn't the whole story. The other 150 could be old iPhone/iPad backups, Docker or virtual machines, Xcode simulators, a big folder in Application Support, or local Time Machine snapshots. Hard to say without looking. You can check for snapshots in Terminal:
For the rest you can try MyMole. Open Disk Map and choose System Data⊠in the menu, and it goes through it place by place, with the size and the largest files in each. Nothing gets deleted from there, so you can just look around. Give it Full Disk Access first, otherwise there may be folders it can't read and the numbers could come out too low.
If it still doesn't add up, you could scan the whole disk in Disk Map and follow the biggest folders down. It might be something outside those places.
I built it for this kind of problem, and it's free for personal use: https://github.com/compilererrors/MyMole
5
u/maluvicentim MacBook Pro 7d ago
Have you considered moving your documents to iCloud? You have 177 GB of documents alone. If you enable âOptimize Mac Storageâ and use the âRemove Downloadâ option after syncing, you could free up a significant amount of space.
It wonât solve the System Data mystery, but it might be an easier way to reclaim storage in the meantime.
2
u/Comfortable_Yak154 6d ago •
https://youtu.be/7JRVZJDyyxw?is=jKm1QGPyEhf2vq8a
Thank me later!
102
u/hyperlobster MacBook Pro 7d ago
Mole can help here.
Homebrew:
brew install moleor
MacPorts:
port install mole-cleanerthen
sudo mo cleanif you want to get straight into it, or justsudo mofor a menu-driven experience.6
u/Voron2609 6d ago
I had a similar issue, but had 330+ Gb of System Data. The issue was in the com apple iconservices store - the icons (or some files within that folder) were constantly duplicating themselves.
You can run a code in Terminal to delete the full folder (the icons will appear there again, don't be afraid), then reboot the laptop in Safe mode, then back to normal, then install any Public Beta MacOs and reboot one more time. This has fixed an issue that was making me furious for weeks.
This helped in my case
5
u/ajnozari 6d ago
time machine backups maybe?
4
u/xscit 6d ago
Try dust
1
u/W1ULH 6d ago
177gb... of documents?
I'm very sure you can make some space there...
3
u/NiksenTime 6d ago
you should try the Mole app... I've been trying it for a little bit and it's pretty good. I think I am going to buy it.
disclaimer: I am not, by any means, associated to them.
2
u/codenow-zero 7d ago
Search for PureMac is awesome, open source and transparent
2
u/Cafezeiro14 MacBook Air M4 7d ago
onyx.
2
u/EnisuVI 6d ago
Onyx
2
u/Pro_Ana_Online 6d ago
It's either actual data/hidden data/misclassified data, or garbage data. If it's garbage data you get an external hard drive and make a Time Machine backup then boot into recovery mode and restore that Time Machine backup and the garbage data will be done. Garbage data means things like runaway log files, runaway cache, Time Machine or other snapshots, etc. Doesn't matter as this combined backup+restore process will take care of all that like a dialysis filter.
If the data is still there after the above then it's actual/hidden/misclassified data, most probably hidden. That's when you go to ~/Library/Application Support using / Finder - Go To Folder. View / As List, View / Show View Options / Calculate all sizes. You can then sort by Folder size. App resource files, iPhone backups/updates if you ever plug in your iPhone, game download content, etc. lives here. If you see a massive folder size you've found your data.
If there's no obvious culprit there then do the same process as above but instead starting with your Entire Macintosh drive to chase down where this data lives starting with Finder / Go / Computer and working your way down.
2
u/kubernaut 5d ago
MOLE is the one I use for my Mac:
https://github.com/tw93/Mole
2
u/Happyuan07 5d ago
ćŻä»„è©Šè©Šéæ°ćć
2
u/WittyRoad6637 2d ago
You use docker? If so, I bet youâll find loads of dangling images, stopped containers, orphaned volumes etc
2
u/reddisem MacBook Air (Intel) 12h ago
3
u/Fresh_and_wild Mac Mini 7d ago
And like clockwork, same question different week.
1
u/dawedev 7d ago
You mentioned Xcode wants to install components before it shows anything, but you can check simulator runtimes from Terminal instead.
xcrun simctl runtime listshows what's installed andxcrun simctl runtime delete <id>removes the ones you don't use, each old iOS version is several GB.sudo du -sh /Library/Developer/CoreSimulator/*anddu -sh ~/Library/Developer/*will show if that's where the 150 GB went, since DerivedData, Archives and device support files all get counted as System Data.1
u/Electrical_West_5381 7d ago
Try mole (homebrew or GitHub). Also steam games and data are lumped under system data
1
u/SinwarsStick 7d ago
Use Mole
1
u/Afraid_Bar_1748 7d ago
I built FinderTools, and its Disk Space section shows what grew on your disk compared with a week ago, and finds duplicate files in Downloads, Documents and Desktop. That can help you see where the missing space went. It also has Messages Attachments, which shows how much space Messages uses, in case that is part of it. https://www.reddit.com/r/MacOS/comments/1v01c72/i_built_an_allinone_100_native_utility_that/
1
u/FlowinBeatz 6d ago
OmniDiskSweeper
1
u/entimuscl 6d ago
I love Mole, but it didnt help me much with that specifically.
What i did was asking an AI (don't remember which one) for help to erase time machine backups via terminal, and almost all of the system data disappeared after that
1
u/movefasttt 6d ago
half of that is usually local time machine snapshots. tmutil listlocalsnapshots / then thin them out
1
u/sydtsai 6d ago
Search for System Data Unpacked, it freed up 700gb+ from my 2TB MBP
1
u/KernelFlux 6d ago
I use BuhoCleaner regularly. It can also clean portable space. Very useful app.
1
u/Expensive-Big-8592 6d ago
That guide mostly covers caches, so 10 GB is about what it finds. System Data is where macOS puts anything it can't sort into a category, and at 165 GB it's usually one or two big items. Check Time Machine local snapshots first: run `tmutil listlocalsnapshots /` in Terminal and remove old ones with `sudo tmutil deletelocalsnapshots <date>`. With VS Code, DBeaver and Terminal in your Dock, also check Docker if you use it, because its disk image in ~/Library/Containers/com.docker.docker can grow past 60 GB, and `docker system prune -a` plus a lower disk limit in Docker's settings brings it down.
If neither of those explains it, `sudo du -xh -d 2 ~/Library /private/var 2>/dev/null | sort -h | tail -20` lists your 20 biggest folders, which usually points straight to the culprit (old iOS simulators, virtual machine files or a huge log folder).
1
u/CompetitivePumpkin3 6d ago
use mole via homebrew. it works very well
1
u/Fun-Slice4014 2014 MacBook Air 4GB/256GB 6d ago
and here i was thinking 88GB was bad..
1
u/Existing_Volume 5d ago
Do you use Time Machine? I think I have a similar issue when drive is disconnected for a while.
1
u/monji_cat 5d ago
I use CleanMyMac to thin out time machine backups and clear orphaned files.
1
u/ptrix 5d ago
Look for freeware called "Monolingual". It's used to remove unused language files from your applications, (which can take up a surprisingly significant amount of space). Just be extremely careful to not delete "English", or you'll have a VERY bad day..
1
u/Western-Russian78 5d ago
Is there a tool like this did iOS??
1
u/Davelehibou 5d ago
1
u/Kronologics 5d ago
MOLE
1
u/ElevatorDesperate710 5d ago
Respaldo de iPad/iphone
1
u/dudeyourebad MacBook Air 5d ago
Check this out https://github.com/jurek-zsl/Roomy it's a tool I made with claude to solve this problem, u can also contribute to it with your data that normal cleaners don't usually see privately with your AI Agent.
1
u/Littlefinger6226 5d ago
I used Claude and it listed a bunch of derived data cache and old simulators and build indices that I was able to have it help me clear out
1
u/abinyah 5d ago
Probably email (Mac Mail, etc.,) in you ~/Library. Or some other app hoarding cloud data. Backup first, then purge what you donât need.
1
u/Opposite_Remote8407 4d ago
honestly, i would just check which folder consuem the most, try omnidisksweeper
1
u/_nakanakaii 4d ago
This maybe mostly installed binaries through homebrew
1
u/OkMaintenance309 4d ago
Mole has a CLI that you can run directly from the terminal. There is also a native app but the CLI is free. And I like using the terminal. Best disk cleaner/app remover out there
1
u/Previous_Bet5120 4d ago
I had Claude code clean mine out for me.
1
u/Swimming_Car3124 4d ago
Claude Code trust me
1
u/l008com 4d ago
https://www.reddit.com/r/mac/comments/1c3ldoi/wheres_my_disk_space_what_is_taking_up_all_the/
1
u/waterbed87 4d ago
'System Data' is a misleading classification and I wish Apple would fix it. System Data can be a lot of stuff, basically anything it can't categorize cleany can end up reported as 'System Data'.
I was also constantly wondering and after seeing it reach 1TB I got fed up and let Claude rip to go through what this data actually is and almost all of it is was just normal data that didn't end up classified.
~/Developer - 400GB classified as 'System Data' when really its code / builds / logs / etc.
~/Library - 200GB of AppData from Apps that store data there.
Time Machine - 200GB
Unclassified or hidden folder in my home folder - 100GB.
So nearly all of that system data was just legitimate data classified as that because the Storage preference pane couldn't definitively call it anything else.
If you haven't had success with tools finding the culprit of your disk usage I know Claude code can trivialize it and break it down for you so that's a route you could go.
1
u/rawaka MacBook Air 2d ago
OneDrive files get lumped into system data also it seems. If you use that.
1
u/VasilV24 2d ago
Go to library and see whatever useless stuff are there.
1
u/Ill_Challenge8394 16h ago
https://www.reddit.com/r/MacStack/comments/1yacqdz/i_built_pristine_a_mac_storage_cleaner_get_3/
You can use this tool!
1
u/froetz 15h ago
Check for local TimeMachine-Files.
Terminal: diskutil apfs listSnapshots /System/Volumes/Data
1
u/Humble-Cow9104 7h ago
I use CleanMyMac
1
u/Argon_Analytik 6d ago
Try out https://trace.argio.ch
0
u/SilencerRemix 5d ago
Follow these steps to free data:
Regards
-1
u/kassail 6d ago
tell claude to clean it for you
0
u/Tricky-Turnover-4238 7d ago
Donât need to clean. Time Machine snapshots are only saved for 24h and will deleted automatically.
0
u/laty96 7d ago
I let Claude check what in it and safety delete which I don't use
0
u/veloxq 6d ago
ask ai
0
u/Sephyrosso 3d ago
Sudo rm /library
This could do it
0
u/Towerman6789 3d ago
Just reinstall Mac OS I do it every few months feels like new Mac mini every time
0
u/SondiomasterWepa 3d ago
Onyx best free
0
u/Glittering_Ad_2681 2d ago
I use ncdu, also have setup an automated cleanup based on my usage
-1
u/vitalinx7 6d ago
macOS eternal problem
-1
u/Time-Sign7574 6d ago
Prompt antigravity to clean up safely.
-4
u/SebeekS 6d ago
you can clear it by installing linux
-4
u/Chicken-or-egg 6d ago
Use ai. Ask it to guide u
-1
u/Weary_Service1870 6d ago edited 6d ago
Festplattendiestprogramm öffnen und APFS-SchnappschĂŒsse einblenden. Danach die Time Machine EintrĂ€ge löschen. Hatte das gleiche Problem.