This wikiHow teaches you how to clear the RAM in macOS without having to do a hard reset. Using the "purge" command can help speed up your sluggish Mac by removing unneeded cached data from its memory.
Steps
-
Open Finder. It’s on the Dock, you’ll usually find at the bottom of the screen.
-
Click the Go menu. It’s in the menu bar at the top of the screen.Advertisement
-
Click Utilities . A list of app icons will appear.
-
Scroll down and double-click Terminal . It’s the black computer screen icon with a white prompt at its top-left corner.
-
Type sudo purge at the prompt. This is the command that will clear the RAM and disk caches. [1] X Research source
- This will not delete any of your personal data.
-
Press ⏎ Return . A password prompt will appear.
-
Type your password and press ⏎ Return . The RAM and disk caches are now cleared.Advertisement
Community Q&A
Search
-
QuestionWhen I go to Terminal and do sudo purge, it doesn't let me type in my password to continue.Community AnswerJust type in your password. The computer will not show the letters you type. Press enter when you’re done. Make sure you are in an account with sudo permissions.
-
QuestionI choose to have no password - but sudo purge won't let me do anything without a password. Someone advise.Community AnswerYou have to have a password. If you want, store passwords in notes. Lock the note to keep it private.
-
QuestionHow do I change a Mac password?NuclearblowoutCommunity AnswerGo to Settings in Mac. Then, click Users and Groups. Click the lock icon and enter the admin username and password. There is a button that says change password. Click that and you'll be all set.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
About this article
Article Summary
X
1. Open Terminal
.
2. Type "sudo purge" at the prompt.
3. Press Return
.
4. Enter your password.
5. Press Return
.
Did this summary help you?
Thanks to all authors for creating a page that has been read 9,525 times.
Advertisement