Operating Systems Lag and they lag badly. It gets frustrating after most of your ram is utilized by unnecessary programs. Chrome “HOGS” ram like a child anxious to get his Candybar. Even though operating systems have automated mechanism of self-clearing or self-purging out ram, these are some methods we can use to clear some memory (RAM) so that you are able to work seamlessly. We have tried and tested all of them and it works 99% of the time. If you are on windows, there might be a 1% chance it might not work. Well, there is nothing bad in trying out your luck.
If you are on Ubuntu, Run these commands to Clear Ram Memory at one go:
sync su echo 3 > /proc/sys/vm/drop_caches
To Check your Current Memory Usage
watch -n 1 free -m or watch -n 1 cat /proc/meminfo
To Free Up Space (If the above one does not work)
sudo sysctl -w vm.drop_caches=3 NOTE: this action won't make your system faster nor it will affect its stability and performance, it will just clean up memory used by the Linux Kernel on caches.
sudo sync && echo 3 | sudo tee /proc/sys/vm/drop_caches
If you are on MacOS (One command to Clear Ram Memory):
If you are on Windows: Clear Ram
Sadly, Windows doesn’t provide any direct command to type & execute in your cmd. What we would suggest is to use a RAM Cleaner. Be warned, though, that these tools are debatable, Since some users report success, others have not. We are in the latter section.
Ram cleaner for windows: Cleanmem & Minimem
Both these tools should work fine.
If you are having issues with anything given in this article, feel free to contact us on our Facebook page. We will try to reply as soon as possible.