Clean RAM and swap

Clean the linux ram and swap it’s easy.

# sync; echo 3 > /proc/sys/vm/drop_caches

Why this?

sync writes all possible changes to HD.
and drop_caches have this possible values:
To free pagecache:
* echo 1 > /proc/sys/vm/drop_caches
To free dentries and inodes:
* echo 2 > /proc/sys/vm/drop_caches
To free pagecache, dentries and inodes:
* echo 3 > /proc/sys/vm/drop_caches

^_^

Author: Marc

https://www.linkedin.com/in/joanmarcriera/