top | item 30994484

(no title)

correct_horse | 3 years ago

> Disable spotlight for everything except what you want to use it for

My friend's mac would "take off" (fan spun up crazy fast) after every boot/login and I disabled full-text search of documents to fix it. There was probably a weird, maybe not-to-spec pdf/docx on the filesystem that spotlight couldn't parse and got stuck. Kinda dumb that it would waste a 100% usage on one CPU core for a couple minutes every boot though.

discuss

order

smoldesu|3 years ago

It's really abysmal. I had a similar situation: every time I'd pull a monorepo, my machine would be flooded with "mdworker" processes. The CPU would spin up and the machine would operate at 85c for a few hours before finally cooling down. The culprit was Spotlight, and the solution was to disable search indexing.

AA-BA-94-2A-56|3 years ago

Spotlight is a really good search tool, and it's worth occasionally letting it build its index. You mostly only notice this when you've changes a whole bunch of files or setup the computer for the first time. It really is short-term pain for long-term gain, because Spotlight is phenomenal at finding anything on the Mac in a really short amount of time.

That being said, if you're in the dev-space, I'd recommend using Raycast instead. I've dong some cool things with it, like format my commit messages, generate UUIDs, and search my bookmarks with a command (/w dev -> my company's development application with a really long URL).