Skip to content
← All guides

Free up space

Smart Care for Mac: Automate Cache, Trash and Memory Cleanup

The MacZentra team · Updated Nov 15, 2026 · 4 min read

Most Mac maintenance is the same handful of chores done in the same order: clear caches and logs, empty the Trash, flush DNS, and purge inactive memory. Smart Care does all four in one click. Each step runs independently, so if you cancel a password prompt the rest still finish, and you get a summary of exactly how much space came back and what each step did.

What Smart Care runs, in order

StepWhat it doesEquivalent by hand
Clear caches & logsMoves user caches and old logs to the Trash (recoverable).Clearing ~/Library/Caches and ~/Library/Logs selectively
Empty TrashPermanently removes what's already in the Trash to reclaim the space for real.Finder → Empty Trash
Flush DNSClears the DNS resolver cache so stale lookups don't linger.sudo dscacheutil -flushcache
Purge inactive memoryAsks macOS to release inactive memory pages back to the free pool.sudo purge

Independent steps, no all-or-nothing

Two of the steps, flushing DNS and purging memory, need administrator rights, so macOS shows an authentication prompt. If you cancel that prompt, Smart Care marks the step Skipped and carries on with the rest instead of aborting the whole run. That's the key difference from a shell script: one declined prompt doesn't throw away the work the other steps already did.

How to run it

  1. Open MacZentra and go to the Smart Care view.
  2. Click the one-click maintenance button.
  3. Approve the two authentication prompts (or skip them, the rest still run).
  4. Read the summary: total space reclaimed and the result of each step.

You can also kick off Smart Care without opening the main window: the menu-bar icon has a Run Smart Care item. See low-disk alerts from your menu bar for how the background agent works.

Doing it by hand instead

If you prefer the Terminal, these are the same four chores. The caches step is the one to be careful with; clearing everything blindly can log you out of some apps, so Smart Care only targets safe user caches and routes them to the Trash first.

Terminal
# Empty the Trash is done in Finder; the rest:
sudo dscacheutil -flushcache
sudo killall -HUP mDNSResponder # some macOS versions also need this
sudo purge
MacZentra Smart Care screen
Smart Care runs caches, Trash, DNS and memory maintenance in one click.

How often should I run it?

Weekly is plenty for most people; the caches it clears refill naturally as you use your apps, so running it daily rarely frees much more. The best time is when a disk-space warning appears, which is exactly when the menu-bar low-disk alert will nudge you. If a single run doesn't free enough, the bigger wins are usually in large files and leftovers rather than caches. To check which cache folders are safe to clear by hand, see ~/Library/Caches: what's safe to delete, and for the grey bar in Storage settings, what System Data is.

Everything MacZentra can clean

Treemap and Sunburst disk maps, a duplicate finder, Developer Junk, a complete app uninstaller and more, in one native storage cleaner for Mac that’s 15.4 MB.

Explore all features →