How to clear cache from memory in Linux?
Answer:
From time to time, you might observed memory in Linux aren't free'ed after used, and they can be shown in the cached column of the free command.
orMã:# free -m # sync; echo 3 > /proc/sys/vm/drop_caches
And try the free command again.Mã:# sync ; sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches'
Mã:# free -m