how to free up memory on linux command line code example
Example 1: linux how to free memory
echo 2 > /proc/sys/vm/drop_caches
Example 2: free memory linux command
# sync; echo 1 > /proc/sys/vm/drop_caches
echo 2 > /proc/sys/vm/drop_caches
# sync; echo 1 > /proc/sys/vm/drop_caches