Before diving in, a quick word on what "clearing memory" actually means. RAM (Random Access Memory) is your Mac's working space, the area where open apps and active files live while you're using them. When it fills up, your Mac slows down. Clearing memory means persuading apps to release the RAM they're holding so other things can use it.
A restart does this completely and instantly, which is why it's the classic advice. But it's a nuclear option: every open tab, document, and session disappears. The options below are more surgical. Some take 30 seconds; others take a couple of minutes. Pick the one that fits your situation.
Why you might want to avoid restarting
Restarting is disruptive in specific ways that often aren't worth the trade-off:
- You lose your browser session. Dozens of open tabs, multiple windows, articles you meant to read.
- Any unsaved work in open documents is at risk if apps don't restore properly.
- Apps like Slack, Teams, and email clients take a few minutes to fully reload and sync.
- Creative apps (Photoshop, Final Cut, Logic) can take a long time to relaunch and reload large project files.
If none of that applies to you and your Mac is genuinely struggling, just restart. There is no shame in the nuclear option. But if you're mid-session and your Mac is just feeling sluggish, the steps below usually get you back to normal.
The five options for freeing memory without restart
Option 1: Force-quit memory hogs in Activity Monitor
This is the most effective single action. Activity Monitor is a free Apple tool that's already on your Mac. It shows you exactly which app is eating the most memory, so you can make a targeted decision rather than guessing.
How to do it:
- Press Command-Space to open Spotlight search.
- Type "Activity Monitor" and press Return.
- Click the Memory tab at the top of the window.
- Click the Memory column header to sort the list, biggest first.
- Click the app at the top of the list to select it.
- Click the small octagonal stop-sign icon in the toolbar (top-left area) and choose Force Quit.
A word of caution: don't force-quit anything labelled "kernel_task", "WindowServer", or "loginwindow". Those are macOS itself. Stick to apps you recognise and launched yourself.
Save your work in that app first if you can. Force-quitting skips the "save your changes?" prompt, so anything unsaved disappears. If the app is genuinely frozen, that's not an option, but for a sluggish-but-responsive app it's worth a quick Command-S before you pull the plug.
Apple's own documentation covers what to look for in Activity Monitor: Check if your Mac needs more RAM.
Option 2: Close browser tabs
Browser tabs are one of the single biggest drains on Mac memory, and most people underestimate how much they use. Each open tab in Google Chrome runs as a separate process and can hold anywhere from 50 MB to several hundred MB depending on the page. Fifty tabs is easily 3-5 GB of RAM, all sitting there while you're "just keeping them open to read later".
Chrome is the worst offender here by design. Safari is more aggressive about releasing memory for tabs you haven't looked at recently, but it still benefits from you closing things you genuinely don't need.
Closing tabs frees that memory almost immediately. You don't need to quit the browser entirely. Just close the tabs you're not actively using. Your browser history remembers where you've been, and you can always find the page again.
If you're not ready to lose the tabs permanently, most browsers have a "bookmark all tabs" option (in Chrome: right-click any tab, "Bookmark all tabs"). That saves them for later without keeping them open and consuming memory now.
Option 3: Quit cloud sync apps
Google Drive, Dropbox, and OneDrive are useful apps, but they run constantly in the background and use a steady amount of RAM even when you're not actively syncing anything. On a Mac that's already under memory pressure, they're low-hanging fruit.
If you're not actively uploading or downloading files right now, you can quit them safely and relaunch when you need them. Nothing will be lost. The sync will pick up where it left off when you reopen the app.
How: find the app's icon in the menu bar (the row of small icons at the top right of your screen), right-click it, and choose Quit. For some apps the option is labelled "Quit Dropbox" or "Quit Google Drive" specifically.
Adobe Creative Cloud, Microsoft AutoUpdate, and similar updater utilities are worth quitting for the same reason. They run in the background, use memory, and are unlikely to be needed in this exact moment.
Option 4: Run sudo purge in Terminal
Terminal is the text-based control panel built into every Mac. It can feel intimidating if you've never opened it, but this particular command is safe, reversible, and straightforward.
sudo purge tells macOS to release the "inactive" portions of memory: the cached files and data it's holding in case you ask for them again. macOS keeps this cache deliberately, because it makes things faster when you do need them. But when memory is tight, asking it to let go can help.
How to run it:
- Press Command-Space, type "Terminal", press Return.
- Type
sudo purgeand press Return. - Type your Mac's login password when prompted (you won't see it appear as you type; that's normal) and press Return.
The command runs silently. No confirmation, no dramatic number. On Apple Silicon Macs (M1 through M4), the effect is modest because macOS already releases inactive memory efficiently on its own. On older Intel Macs the difference is more noticeable. Either way, it's safe and takes 30 seconds.
For more on what sudo purge actually does and how much RAM it typically recovers, see our guide to freeing up RAM on Mac.
Option 5: Use a menu-bar tool
If doing this manually feels like too much, a small menu-bar app can handle it for you automatically. Shiny is the one I make. It sits in your menu bar, watches your memory pressure, and when things get tight it closes orphaned helper processes (the small background bits of apps that don't shut down properly when you quit the main app), asks macOS to release inactive memory, and pauses apps that have been idle for hours but are still holding RAM.
The result: all five of the above options in one click, without you having to open Activity Monitor or a Terminal window. $4.99 once, no subscription.
Disclosure: I make Shiny, so I'm biased. The manual options above are free and work perfectly well. Shiny is just the version where you don't have to think about it.
Which option is right for which situation?
The right approach depends on what you're trying to preserve and how bad things are:
- Mac is sluggish but you have important open work: Force-quit the biggest memory hog in Activity Monitor, then close browser tabs. Takes two minutes, loses nothing you care about.
- Mac is slow and you have lots of tabs open: Bookmark all tabs and close most of them. This alone often recovers 2-4 GB of RAM.
- You're about to start a memory-intensive task (video editing, a big Photoshop file, a long Zoom call): Quit cloud sync apps and close idle browser tabs before you start, rather than after things slow down.
- You want a quick fix without digging into anything: Run
sudo purge. It's one command and takes 30 seconds. - This happens regularly and you'd rather not manage it manually: A menu-bar tool handles it automatically.
When restart is still the right answer
The options above free up meaningful amounts of RAM, but they don't do everything a restart does. A full restart also clears system-level caches, resets background processes that have developed memory leaks, and starts macOS fresh. If your Mac has been running for two or three weeks, some processes will have accumulated junk that none of the above fixes.
Signs that you should just restart:
- Your Mac has been on for more than a week.
- You've tried force-quitting the memory hogs and it's still slow.
- The Memory Pressure graph in Activity Monitor is red and stays red. (See what memory pressure means for how to read that graph.)
- The slowness is system-wide, not just one app.
Restart once a week as a habit and you'll rarely need to do any of the above. The no-restart options are most useful mid-session when you need relief quickly without losing your place.