Comment

Comment by jd3

tl;dr — free up disk space and delete ~/Library spotlight index and medianalaysisd caches

There's a really nasty bug in Golden Gate 27.0.1 which causes ANECompileService, mediaanalysisd, duetexpertd, and other apple intelligence-related features to thrash and permanently spike your CPU. I tested this yesterday on a machine with ~12GB of space left and the result was launchd writing 163 GB and ANECompilerService writing 70 GB in less than 24 hours. The noticeable effect is that the AI text-recognition for photos in QuickLook will not work and repeatedly download and compile ~/Library/Containers/com.apple.mediaanalysisd/Data/Library/Caches/com.apple.mediaanalysisd/com.apple.e5rt.e5bundlecache items. One in particular repeatedly fails and downloads a 69.9 MB file with model.mil and weights1.bin inside of the package folder. This will happen every 6 minutes, which further compounds the severity of the issue since the bug itself is due to low disk space. This folder has risen to 2–5 GB for me before, which I had to just delete manually. The filenames are <HASH>.tmp.<number which increases every time>.<random>.bundle.

I figured this out by watching `$ log stream` and seeing what was happening, which was lack of disk space while ANECompilerService was compiling ai features after opening a file in Preview or in Quick Look in Finder.

I fixed this by freeing up ~10GB (bringing me up to 20GB) and deleting the ~/Library/Metadata/CoreSpotlight and ~/Library/Containers/com.apple.mediaanalysisd/Data/Library/Caches/com.apple.mediaanalysisd/com.apple.e5rt.e5bundlecache/. After rebooting, I left it on overnight to reindex everything.

parent jd3 8 days ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton