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
-
QuestionIt won't let me type in my password, so I hit enter and it says that my profile is not a part of the sudoers file. What do I do?Community AnswerSudo is the top administrative level on a Linux-based system such as a Mac. Typing in your password should not be running sudo. The sudoers file is a record of which users are allowed to run sudo, and all administrators should be on this list. I would recommend contacting Apple support, as this could be evidence of malware trying to gain administrative privileges.
-
QuestionI typed in my password 3 times incorrectly, and it won't let me do anything. What should I do?hopeCommunity AnswerShut it down and do it again, or restart the whole thing.
-
QuestionWhen I go to Terminal and do a sudo purge, it doesn't let me type in my password to continue. What can I do?NuclearblowoutCommunity AnswerMake sure you are in the Admin user. The terminal for older Macs may not let you use the terminal in an account besides the Admin one.
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 7,789 times.
Advertisement