Benches macOS

4

My User>Library>Containers folder has swo…

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I recently did a get info on my User Library and drilled down to the following four folders that consumed the most space there:

  1. Application Support= 16GB
  2. Caches= 14GB
  3. Containers= 54GB
  4. Mail= 21GB

What can be done to remove the apparent bloat? I check two of my home machines (MacMini recent install of Mojave, iMac long time install and recent upgrade to Mojave). The iMac had similar size User Library but the Mac Mini hs much smaller. I have a space problem on my MacBook Pro with a 256GB SSD as the primary local drive, although there is lots of storage space external (RAID), I keep my apps and limited documents, Photos, iTunes in the Cloud on my local, internal. Down to 20GB free there after considerable trimming.

What to do to control this bloat?

Henry

4 replies

Sign in or join Beachball Help to reply.

  1. 0

    leroydouglas

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I would also look from the Finder>Go>Go To Folder, copy&paste:

    ~/Library/Containers/com.apple.mail/Data/Library/Logs/Mail 
    

    I have seen anywhere from 12 GB to 342 GB of logs here.

    You would be safe to delete all those logxxxx.txt files

  2. 0

    HenryS

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I contacted Mac Support to ask about this since there were no responses here. I learned that the Users>Library>Containers can be easily searched for bloated files by setting up sizes of folders in a Finder view of the relevant folder, using View>Options>Show Size, Calculate All Sizes (Save as Default). Thereby you can sort by file size and identify the uncommonly large files.

    Also I learned that caches file (User>Library>Caches) that are abnormally large, most cache files can safely be deleted as they will and do recreate on the fly as needed. They don't auto empty however, but can be emptied from the app (whether Safari, Mail or other app).

    Many long unused apps can be deleted (completely) and thereby also result in a large savings in space. Just be sure that ALL files are deleted when you do so as leaving old prefs, logs and caches will still overcrowd your drive.

    Found out that log files were an issue as I had turned on logging in Mail and never turned it off. Cruft like logs just built up in Mail files.

    Specifically those folders of concern to me were the bloated sub-folders in Containers. By analyzing for size, was able to identify the largest folders and files, got rid of most of the bloat (1+GB size files) reducing the size of the containers way down.

    All in all, squeezed out about 80GB. That'll get me by. For now.

    Those savings is space were of great help paring down my limited resources on the startup drive which is only 256GB, to remain at 90GB free. Highly recommend looking at the amount of space in your User Library files even if it is not a dire need to save space. Generally good to be efficient with the space you do have!

  3. 0

    leroydouglas

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    All in all, squeezed out about 80GB. That'll get me by. For now.

    And where did those 80GB come from? There are a few known suspects?

  4. 0

    leroydouglas

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I would also look from the Finder>Go>Go To Folder, copy&paste:

    ~/Library/Containers/com.apple.mail/Data/Library/Logs/Mail 
    

    I have seen anywhere from 12 GB to 342 GB of logs here.

    You would be safe to delete all those logxxxx.txt files