MRKAVANA (mrkavana@gmail.com) - www.facebook.com/kavanathai

Jul 22, 2011

How to clear memory cache

free -g
sudo sync && sudo sysctl -w vm.drop_caches=3 && sudo sysctl -w vm.drop_caches=0 

Or:
sync; echo 3 > /proc/sys/vm/drop_caches


No comments:

Post a Comment