Blog Logo
TAGS

macOS - mds_stores high cpu usage on developer machine

If you are a developer with lots of git repositories on your mac, you may have noticed that the mds_stores process is using a lot of CPU.

This is because the process is indexing all of your git repositories.

To stop this:

  1. Open ‘System Settings’
  2. Click on ‘Siri & Spotlight’ in menu
  3. Click on ‘Spotlight Privacy’ button
  4. Click the ’+’ button
  5. Navigate to the root folder for your git repositories and click ‘Choose’
  6. Click the ‘Done’ button
  7. After a few minutes, the mds_stores process should stop using a lot of CPU.