how to clean the memory occupied by cache in linux code example Example: clear ram linux sudo sync; echo 3 > /proc/sys/vm/drop_caches