~/Library/Metadata/SpotlightKnowledgeEvents using a lot of disk space

The title says it all. I'm running a 2018 MacMini on macOS Sequoia 15.2 with a 500GB drive, and this folder is consuming 150GB. The folder structure is then index.V2/journals/, followed by a 10 or 11, and then two folders: cs_default and cs_priority. The cs_default folders are filled with literally thousands of files starting with the title skg_events, and ending with extensions .toc or .journal. The modification dates start at Sept. 17, 2024, which I think is roughly when I first installed Sequoia.


I've tried a few things - stopping/starting Spotlight (but have not yet tried reindexing) and restarting in SafeMode.


EtreCheck report attached - yes, I have a lot of *stuff* on my system that affects

performance, but I'm really trying to figure out how to reclaim this disk space if possible. I appreciate your help!




Mac mini (2018)

Posted on Dec 26, 2024 6:57 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 28, 2025 11:59 AM

I talked to Apple Support about this issue last night, basically to ask a single question (I'd had at least four previous support sessions with Apple on this one issue): is it safe to simply remove the files from the two folders (on Intel systems; on Apple Silicon systems the second folder is inside the first): ~/library/metadata/CoreSpotlight/, and ~/library/metadata/SpotlightKnowledgeEvents?


The advisor said that Apple okays this approach, with the caveat that you should delete these two folders' contents, not the folders themselves.


On the two Intel Macs I was having this issue with, I deleted these two folders' contents, and saw immediate performance gains. For one thing, both systems had roughly half a terabyte of Spotlight metadata in these two folders, so I reclaimed all that storage space. For another, I saw a huge improvement in any kind of search that involves Spotlight: Finder searches, Spotlight window searches (invoked by default [CMD]-[SPACEBAR]), any searches in Mail, including smart folders; and quite a bit less processor usage by corespotlightd, which I believe is the process that writes out all this data in the first place.


That said, the problem isn't eliminated entirely. On one of these two systems, the metadata folders accumulated 8.4 GB of new data in literally a hour and a half (although it seems to have stopped growing at that point), and on the other system about 23 GB accumulated from when I removed the data last night until late this morning. But if this trick worked once, there's no reason to suppose it won't work again. So, unless the 15.3 update (or maybe some later update) addresses this issue, I'll just keep an eye on the ~/library/metadata folder, and if it grows to say 100 GB or more I'll simply delete this data again. As far as I can tell, that seems to serve no purpose other than to significantly degrade Spotlight performance. It certainly doesn't speed up searches; in fact, at about 500 GB of data, search was essentially halted in its tracks.

65 replies

Jan 24, 2025 10:12 AM in response to Stephen Epstein

You may be on to something with the DEVONThink 3 archiving your email. I have reviewed many of the files in the cs_default folder by opening them in TextEdit and it just reveals snippets of emails and messages, but the file sizes are small.


Since you were seeing 100GB on 4100 files, it would seem some of those files were very large. If you get a chance, try opening some of those large files you see in that folder to see if it gives you some clue on what is being indexed. Not all of the info is readable due to the Text Encoding, but you will be able to make out some of what you see there.


Jan 24, 2025 4:01 PM in response to Stephen Epstein

Stephen Epstein wrote:

I only have an Intel MacMini (2018). Can anyone confirm that this problem is limited to Intel Macs? Maybe we're on to something with a Sequoia bug that only affects Intel Macs, and not Apple Silicon.

I believe it affects Apple Silicon Macs as well, but to a much lesser extent. My M2 Max MacBook Pro's SpotlightKnowledgeEvents folder has about 42 GB of data in it, and my Mac Studio M1 Ultra has about 8 GB in the same folder. I'm not sure why the MBP has so much more metadata; it actually has a smaller user folder than the Mac Studio.


But both are significantly smaller than the 500+ GB on my two Intel Macs.

Feb 17, 2025 7:33 AM in response to southtom

I am also facing this problem. I have an Intel iMac 2019, running Sequioa 15.3.1.

My SpotlightKnowledgeEvents folder is 80 GB.

I went through my TimeMachine and figured out, that this folder didn't exists before Sequioa.


The index.V2 folder within the folder SpotlightKnowledgeEvents contains a folder "journals" which contains two folders:

  • "10" with 20 GB of data
  • "11" with 60 GB of data


The files of the folder "10" where updated the last time at the end of October 2024. My assumption is, that the "10" folder is from Sonoma.


Please Apple, fix this problem.

Apr 3, 2025 2:06 PM in response to nxnw

It's only been a few hours since I updated to 15.4, but so far the signs, at least on my Intel 27-inch iMac, are not encouraging. CoreSpotlightd isn't using much CPU time (7% on an 8-core system with hyperthreading turned on), but immediately after the update the (relocated) CoreSpotlight metadata was at around 2.6 GB (I'd deleted it all last night before the update to 15.4). It's now about two and a half hours later, and already metadata is up to 24.3 GB (with a large Pages file open). Before 15.4, after deleting metadata it would typically take closer to two days to get to 24 GB. If anything 15.4 seems to have worsened the problem of extremely rapid buildup of Spotlight metadata.


The next experiment will be to quit Pages for a while and see if metadata comes down in size. I've seen this many times on Apple Silicon systems, but the only way I've ever been able to reduce the size of Spotlight metadata on Intel systems is by manually deleting it.

Dec 27, 2024 6:52 AM in response to dialabrain

I also have that path (~/Library/Metadata/CoreSpotlight/SpotlightKnowledgeEvents), but there is also a much larger folder at ~/Library/Metadata/SpotlightKnowledgeEvents. Maybe you don't have that folder? My CoreSpotlight folder is only 3.4GB - larger than your 80MB, but not nearly the 150GB of the SpotlightKnowledgeEvents folder at ~/Library/Metadata/SpotlightKnowledgeEvents!


I'm not sure what's needed or not either - hence my post!

Jan 23, 2025 11:42 AM in response to Stephen Epstein

Hi,

My folder "~/Library/Metadata/SpotlightKnowledgeEvents/index.V2/journals/11/cs_default" has 4104 files, and is consuming 100GB.


The first file is from December 11th at 10:10 p.m., and at that time the operating system was updated to version 15.2.

I am convinced that this is a problem with the Sequoia 15.2 version (24C101)


Any ideas what I can do?


Thx a lot!

Jan 24, 2025 3:08 AM in response to Stephen Epstein

I attach an EtreCheckReport.

As I already mentioned, my folder "~/Library/Metadata/SpotlightKnowledgeEvents/index.V2/journals/11/cs_default" has more than 4100 files, and is consuming around 100GB.


The first file is from December 11th at 10:10 p.m., and at that time the operating system was updated to version 15.2.

I am convinced that this is a problem with the Sequoia 15.2 version (24C101)


Apple Support has told me to follow the usual steps of deleting Safari cookies and restoring the system.


For me, restoring the system is not an option and deleting the cookies is not going to help. I don't think it will help at all.


Regards

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.

~/Library/Metadata/SpotlightKnowledgeEvents using a lot of disk space

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