Clear cached memory in Debian/Ubuntu
Sometimes, when i see my system got slower, the i open the phpsysinfo. My using memory almost full. Even i restart my PC, the cached memory size still big. I want to clear cached memory but i’m hard to find to solution because i’m scar if it will cause my ubuntu crash.
After browse in many site ( thanks to ubuntuforum ) , I get the solution. It will clear cached memory with no bad effect to your system
To Check cached memory , use this command :
free
To Clean the cached memory use this command, but Make sure you have root privileges :
sudo su
echo 3 > /proc/sys/vm/drop_caches
My cached memory size decrease from 38 % to 10%. it make my OS performance increase autamotically







