Processes that eat CPU and memory: mds_stores, MsMpEng, vmmem and other usual suspects

By the Zofle team · 6 November 2026 · 3 min read

Most slowdowns after an update, a big copy or a long uptime come from a handful of background jobs. Each is doing something useful: indexing, scanning, syncing or compacting. They look alarming because they use all the CPU for a while. The question is whether it ends. Here are the usual ones.

macOS

ProcessWhat it doesWhat to do
mds_stores, mdworker_sharedSpotlight indexingNormal for an hour or so after an update or after adding many files. If stuck for a day, exclude big folders in System Settings, Siri & Spotlight, or rebuild the index with sudo mdutil -E /.
photoanalysisd, mediaanalysisdPhotos scans faces and objectsFinishes by itself, faster when the Mac is plugged in and the lid open
cloudd, birdiCloud Drive syncHigh while a large folder is syncing; check the iCloud status in Finder
kernel_taskSlows the CPU to cool the MacNot the cause: it is the effect of heat. Check vents, external monitors, and what else is hot.
backupdTime MachineNormal during a backup
Xcode's SourceKitService, swift-frontendIndexing and compilingQuit Xcode, delete DerivedData if it never settles

Windows

ProcessWhat it doesWhat to do
MsMpEng.exe (Antimalware Service Executable)Defender scanningHeavy on node_modules and build folders. Add your project folder as an exclusion if you accept the risk.
TiWorker.exe, TrustedInstaller.exeWindows Update installingLet it finish, then restart
SearchIndexer.exeSearch indexingReduce the indexed folders in Indexing Options
vmmem, vmmemWSLWSL 2 and Docker virtual machineCap it in .wslconfig: see the vmmem article
OneDrive.exeSyncPause sync, or choose which folders sync
java.exe, node.exeGradle and Kotlin daemons, dev serversgradle --stop; close dev servers you forgot
WmiPrvSE.exeWindows Management Instrumentation queriesA monitoring tool is usually asking too often

Linux

ProcessWhat it doesWhat to do
tracker-miner-fs-3 (GNOME), baloo_file (KDE)File indexingTurn indexing off in the desktop settings if you do not search
snapdSnap refresh and mountingNormal after boot; consider fewer snaps
packagekitd, unattended-upgradeUpdatesWait; do not kill it halfway
kswapd0The kernel swapping to diskYou are out of memory. Find the biggest process with ps aux --sort=-%mem | head.
dockerd, containerdContainersdocker stats shows which container

How to find your own culprit

  • Mac: Activity Monitor, sort by CPU or Memory; or top -o cpu.
  • Windows: Task Manager, Details tab; Resource Monitor for disk.
  • Linux: htop or top; iotop for disk.

Rule of thumb: if it is busy for under an hour after an update, wait. If it is busy for a day, it is stuck on one file or folder, and you can usually find which in the process's open files (lsof -p <pid> on Mac and Linux).

Where Zofle fits. Zofle is a free disk cleanup and file finder for Mac and Windows. It shows what is filling a disk, folder by folder, lists developer caches, old build folders and leftovers with their size and date, lets you untick what you want to keep, and sends the rest to the Trash or Recycle Bin first so you can undo it.

Sources and method

  • Apple Support: If your Mac is slow, Activity Monitor user guide.
  • Microsoft Learn: Task Manager, Windows Update, Microsoft Defender exclusions.
  • Linux man pages: top, ps, journalctl.
  • Paths and commands are from each tool's own documentation and can differ by version; run the 'find it' command on your own machine before deleting anything.

Zofle Pro news

People signing up now will get Zofle Pro, with more features, for free when we launch it.

One email when it's ready. No spam, ever.