How to free RAM on Mac
Sometimes, while working or playing on your Mac, do you notice that RAM is struggling or blocking? Well, this problem may affect the memory of your terminal.
In this case, you may need to free RAM on your Mac to allow processes to regain the appropriate execution speed. Thanks to the little guide I am about to introduce you, we will see how to free space quickly and easily. I assure you that at the end of the process. Your Mac will come back to work properly without any kind of slowdown.
- First of all, you need to take into account the strength of your Mac OS. That is the ability of the user to manage the memory. When it comes to Ram, it refers to PC memory. The operating system uses it to be able to allocate the processes that are running. In order to optimize the use of memory, it splits the same into 4 segments.
- There are different types of memory inside a computer. Let’s take some examples. Free memory is free and only the various active processes in the computer can exploit it. The so-called ” wired ” is the memory on which you can swap-out. This is in practice a transfer to the disk. Inactive memory is inactive. Theoretically, it cannot be used, but in reality, it reserves for those processes that are used and then closed.
- The operating system cannot empty all inactive memory. It then forces the user to have much of the busy memory unnecessarily. For this reason, there are some practical tools that will free up unused RAM. They also allow you to recover a lot of space. One of these is Memory Clean and can be found inside the Mac Store. If you want to get the same result at no cost, you just have to open the terminal. Then you go to recognize the commands you need to run. Open it from the ” Applications > Utilities > Terminal App ” path.
- To view the allocated and active processes in the RAM on the mac, you must run specific commands. The ” top ” command displays active processes, memory (free and busy), and other memory status data. To exit this command, you must type the ” ⌘ + C ” key combination. The command ” ps aux | grep [username] ” provides detailed space information that processes the various processes in memory. The [username] parameter corresponds to your system username.
- The columns with the words ” % CPU ” and ” % MEM ” indicate the percentage of CPU and memory that processes occupy at that time. At this point, just type the command ” purge ” . Finally, press ” Enter “. After a few seconds, the system will release the memory, and you can view the new state of RAM through the ” Activity Monitor ” found in the ” Applications > Utilities ” path. As you can see, releasing RAM on the Mac is really easy.