how to clear used ram in ubuntu code example Example: clear ram cache ubuntu sync && echo 3 | sudo tee /proc/sys/vm/drop_caches