Messages taking up storage on macOS

I recently decided to clean up my computer and deleted 150 gigs worth of data. This included all my messages, but when I go to Apple > About this Mac > Storage, it still shows I have over 30 gigs of messages on my computer.


I deleted my messages by changing the preferences to keep messages only for 30-days, unchecked the box that saved messages after closing a conversation, and then manually deleted all the messages in the app by right clicking and hitting delete. I also deleted all the files under the folders: ~/Library/Messages/Attachments and ~/Library/Messages/Archive.


I also forced Siri to re-index my files. I even upgraded to Big Sur today. And when I select the Messages folder and click "Show Info" it says the file is less than 1 gig.


Why does About this Mac > Storage, still show that I have over 30 gigs of messages on my computer? The Attachment and Archive files are empty, no messages are saved for over 30-days, and I have no message in the message app. I am the only user of the computer. Is there another secret file storing data? Is this a known bug?


Please help :-(

Posted on Sep 6, 2021 8:16 AM

Reply
Question marked as Top-ranking reply

Posted on Sep 6, 2021 10:59 AM

Look for iOS backups…

/Users/[USERNAME]/Library/Application Support/MobileSync/Backup


OmniDiskSweeper shows you the files on your drive, largest to smallest, and lets you quickly Trash or open them.

https://www.omnigroup.com/more/


Purging local backups

Please note that although this doesn't affect your remote backup from Time Machine, this will get rid of the redundancy (at least until the next Time Machine backup) that a local backup disk will provide. If you need such redundancy or are worried about the recovery of your data then you would be best served to let macOS determine when to purge these files.

Start Terminal from spotlight.

At the terminal type tmutil listlocalsnapshotdates. 

Hit enter.


Here, you'll now see a list of all of the locally stored Time Machine backup snapshots stored on your disk.

Next you can remove the snapshots based on their date. I prefer to delete them one at at time. Once my "System" disk usage is at an acceptable level, I stop deleting but you can delete all of them if you want to reclaim all of the disk space.


Back at the terminal, type tmutil deletelocalsnapshots YYYY-MM-DD-HHMMSS , where will be one of the dates from your backup. This will be in the form of xxx-yy-zz-abcdef. Try to start with the oldest snapshot.

Hit enter.

Repeat for as many snapshot dates as required


http://www.thagomizer.com/blog/2018/03/27/cleaning-up-time-machine-local-snapshots.html


tmutil deletelocalsnapshots /  # deletes all the snapshots

9 replies
Question marked as Top-ranking reply

Sep 6, 2021 10:59 AM in response to jmorency

Look for iOS backups…

/Users/[USERNAME]/Library/Application Support/MobileSync/Backup


OmniDiskSweeper shows you the files on your drive, largest to smallest, and lets you quickly Trash or open them.

https://www.omnigroup.com/more/


Purging local backups

Please note that although this doesn't affect your remote backup from Time Machine, this will get rid of the redundancy (at least until the next Time Machine backup) that a local backup disk will provide. If you need such redundancy or are worried about the recovery of your data then you would be best served to let macOS determine when to purge these files.

Start Terminal from spotlight.

At the terminal type tmutil listlocalsnapshotdates. 

Hit enter.


Here, you'll now see a list of all of the locally stored Time Machine backup snapshots stored on your disk.

Next you can remove the snapshots based on their date. I prefer to delete them one at at time. Once my "System" disk usage is at an acceptable level, I stop deleting but you can delete all of them if you want to reclaim all of the disk space.


Back at the terminal, type tmutil deletelocalsnapshots YYYY-MM-DD-HHMMSS , where will be one of the dates from your backup. This will be in the form of xxx-yy-zz-abcdef. Try to start with the oldest snapshot.

Hit enter.

Repeat for as many snapshot dates as required


http://www.thagomizer.com/blog/2018/03/27/cleaning-up-time-machine-local-snapshots.html


tmutil deletelocalsnapshots /  # deletes all the snapshots

Sep 6, 2021 5:41 PM in response to BDAqua

Hmmm, How to rebuild the Spotlight index on your Mac

If searching your Mac doesn’t return expected results, rebuilding the Spotlight index might help.


  1. Choose Apple menu () > System Preferences, then click Spotlight.
  2. Click the Privacy tab.
  3. Drag the folder or disk that you want to index again to the list of locations that Spotlight is prevented from searching. Or click the Add (+) button and select the folder or disk to add.
  4. To add an item to the Privacy tab, you must have ownership permissions for that item. To learn about permissions, choose Help from the Finder menu bar, then search for “permissions.”
  5. From the same list of locations, select the folder or disk that you just added. Then click the Remove (–) button to remove it from the list.
  6. Quit System Preferences. Spotlight will reindex the contents of the folder or disk.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Messages taking up storage on macOS

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.