-
All replies
-
Helpful answers
-
Jan 12, 2014 12:21 PM in response to Nickkettby macbig,★HelpfulThat means that Spotlight is indexing your Harddrive.
To switch off the indexing open a Terminal window and type:
sudo mdutil -a -i off
NB: You will be prompted to enter your admin password.
If you change your mind about Spotlight, and decide to give it another try, then it’s just as easy to switch back on as it was to switch off.
Again, in a terminal window type the following:
sudo mdutil -a -i on
NB: You will be prompted to enter your admin password.
-
Jul 23, 2015 11:34 AM in response to Nickkettby The_Beachball,I had the same problem. After months of memory pressure (100% mds_stores, processes paused frequently), I found the cure.
If your mail-account (hosted exchange or imap) contains a lot of duplicates - in my case thousands - spotlight indexing causes havoc. I assume, it is trying to compare all duplicates, so it can show them as one message. Duplicates may result from incomplete move/copy/delete or from receiving multiple copies of the same mail.
I used https://github.com/quentinsf/IMAPdedup to go through all folders and delete duplicates automatically. This compares message-IDs and/or headers.
After that, neither of my macs has seen memory pressure again - ever.
I hope this helps everyone that suffers from memory pressure as I did.
Hint: If your iOS mail app shows different unread counts for the same mail folders from your OS X mail app, this is a certain indication for duplicates. Same, if you iOS shows emails, while OS X mail shows an empty folder.
-
Jul 30, 2015 6:07 PM in response to Nickkettby Pencil_Neck,I tried disabling Spotlight in the Terminal and force quit the process in Activity Monitor, but mds_stores kept popping back up and climbing up the charts of memory use. It wasn't until I found the following link that I've gotten it to hover around 60 MBs for good.
In short, go to System Preferences -> Spotlight -> Privacy and start dragging and dropping all your frequently changing folders. Creative Cloud Files and my external hard drive dramatically reduced the CPU usage alone.
-
Aug 12, 2016 8:01 PM in response to macbigby Kirkwood,It looks to me like the solution given by Pencil_Neck is simpler and more useful.
