com.apple.mediaanalysisd files filling drive in macOS 15.1

Since updating my mac Mini M1 to macOS 15.1 on 28th October, my computer has been creating a 67.9 MB file roughly every hour when the computer is not in use in the following location: ~/Library/Containers/com.apple.mediaanalysisd/Data/Library/Caches/com.apple.mediaanalysisd/com.apple.e5rt.e5bundlecache/24B83/9CBD0F43A800584A3C4CABAFAE15CF754A6CC75117BE0645B8F09A3EF4974D11.

The files are in the following format, e.g. the latest one is BF43FD565F5326E554005345F8EE2E2C0271B9C0A9695FACB868D079B6B64D88.tmp.1443.bundle. As these are cache files, I deleted the Caches folder on 5th. November, when it had grown to 17.1 GB: since then, the newly-created Caches folder has grown to 3.16 GB. I have rebuilt the Photos library, also run Disk Utility over the drive. Note that this issue did not occur in macOS 15.0.1. Has anyone else experienced a similar issue, and possibly found a resolution? I have submitted a bug report to Apple.

Mac mini, macOS 15.1

Posted on Nov 8, 2024 8:07 AM

Reply
Question marked as Top-ranking reply

Posted on Jan 1, 2025 12:47 PM

I too have been having a similar problem. However, I am using M1 2020 Air.


Since I updated my software to Sequoia 15.2, the system data on my drive suddenly bloated to 110GB (previously, it did not exceed 25GB).


I tried cleaning my device using CleanMyMac, however, it temporarily reduced the space (to ~60GB). I hadn't used my laptop in more than 24 hours and when I picked it up - it was warm. As soon I logged in, it told me it was running out of space again. I checked CleanMyMac and could see that com.apple.mediaanalysisd is eating up 22.2GB and increasing.


What is this process? Is it a temporary indexing of my images? If so, does deleting it keep resetting the indexing and it would keep trying to run? My photos aren't even on my laptop so what on earth is it doing?

57 replies
Sort By: 

Mar 20, 2025 6:59 PM in response to paulmacsmurf

I never use the Photos Library feature, but this folder still randomly generates new files. So, my solution is as follows:


```bash

rm -rf /Users/zen/Library/Containers/com.apple.mediaanalysisd/Data/Library/Caches

ln -s /dev/null /Users/zen/Library/Containers/com.apple.mediaanalysisd/Data/Library/Caches

```


So far, I haven't noticed any side effects.


Reply

Feb 6, 2025 5:08 PM in response to BDAqua

It should not require a 3rd party app to ensure that Apple software does not put a device in a critical

(full disk) state.

Software like mediaanalysisd should be looking at space levels where it is saving stuff & stop doing so

at 90% disk full! Anything else is really dangerous!


However one thing has gotten better with, ($ sw_vers)

ProductName: macOS

ProductVersion: 15.2

BuildVersion: 24C101


& that is that df at least seems to actually show correct usage & free space.


Sadly in my case a "du -shx" on,

/Volumes/MyMountedSSD/MyUserName/Library/Containers/com.apple.mediaanalysisd

is right now,

239G /Volumes/MyMountedSSD/MyUserName/Library/Containers/com.apple.mediaanalysisd


which is my home dir.


& it shows in "df" as,


/dev/disk8s1 1000G 1000G 0B 100% /Volumes/MyMountedSSD/


(names changed to protect the guilty)


15.3 is now available so here goes a reboot & hope that someone in Apple has actually

fixed a few more things!



Reply

Feb 19, 2025 12:38 PM in response to paulmacsmurf

I'm on 15.3, have a MacMini M1 and can't keep up with cleaning this thing out. It just keeps filling and filling. Super frustrating. This is obviously something Apple needs to address. I don't think there is anything we can do here except throw it in the trash, empty the trash, click "me too," and send feedback to Apple via apple.com/feedback. Do you part! Report, report, report!

Reply

Feb 21, 2025 3:53 PM in response to Gil Dawson

I installed 15.3.1 a few weeks ago. My internal SSD has 87GB free, so that's fine.


com.apple.mediaanalysisd is still occupying 74GB, but it's on an external 1TB disk (linked by an alias) so it's not hurting anything.


According to ⌘-I, it hasn't been modified since I moved it six weeks ago, so I guess the alias isn't working. However, no new folder with that name has appeared.


--Gil



Reply

Mar 17, 2025 3:52 AM in response to grumpyoldman2

While it's true that upgrading to the newest version of macOS cleans up some of this mess, but it is not a permanent solution. I've been on macOS 15.3.2 for a few weeks and after the upgrade, I was able to reclaim about 50GB of space but I'm already down to just 200MB (yes, M, not G) and no amount of restarting helps. My com.apple.mediaanalysisd folder is currently 40GB and contains a lot of symlinks to my entire user directory so it seems to be scanning everything. Whatever it's doing, it's doing it wrong. The system shouldn't have the privilege or right to consume all available space for some fringe benefit that 1) isn't user-controlled 2) is completely out of control.


This is to say, upgrading your OS will NOT resolve this issue permanently, it's a temporary remedy.

Reply

Feb 6, 2025 2:51 AM in response to Gil Dawson

This is an update since my radical move on 8 Jan 2025 of com.apple.mediaanalysisd to an external drive, replacing it with an alias:


  • com.apple.mediaanalysisd has not grown much, from 74 GB to 74.6 GB.
  • The usual quirks and curious behaviors of my system software seem to be continuing apace. Some things don't work, but then some things have not worked from time to time all along. I have noticed nothing startling.
  • The Photos app, in contrast, has hung up several times, taking 'way too long to perform a simple task (e.g., rotate an HEIC), requiring a Force Quit followed by a Relaunch. In each case, however, after the Relaunch, the Photos app performed the same previously requested task, or another sufficiently similar, in a reasonable amount of time.


That is all.


--Gil


P.S.: I am running Sequoia 15.3.

Reply

com.apple.mediaanalysisd files filling drive in macOS 15.1

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