Free More Memory in Ubuntu

Following procedure will help you to free more memory in ubuntu machines :

Type the following command at your terminal command prompt :

  1. Check the current memory

    free -m

  2. Flush file system buffers for safety

    sync

  3. Become root (simply sudo-ing the final command won’t work because of the redirection)

    sudo bash

  4. Free cached memory

    echo 1 > /proc/sys/vm/drop_caches

  5. Now finally check the memeory status after freeing

    free -m

Leave a Reply