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

  1. It’s on the Dock, you’ll usually find at the bottom of the screen.
  2. It’s in the menu bar at the top of the screen.
    Advertisement
  3. A list of app icons will appear.
  4. It’s the black computer screen icon with a white prompt at its top-left corner.
  5. This is the command that will clear the RAM and disk caches. [1]
    • This will not delete any of your personal data.
  6. A password prompt will appear.
  7. The RAM and disk caches are now cleared.
    Advertisement

Community Q&A

Search
Add New Question
  • Question
    When I go to Terminal and do sudo purge, it doesn't let me type in my password to continue.
    Community Answer
    Just 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.
  • Question
    I choose to have no password - but sudo purge won't let me do anything without a password. Someone advise.
    Community Answer
    You have to have a password. If you want, store passwords in notes. Lock the note to keep it private.
  • Question
    How do I change a Mac password?
    Nuclearblowout
    Community Answer
    Go 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.
See more answers
Ask a Question

      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,549 times.

      Is this article up to date?

      Advertisement