Send your questions to appsdbauniverse@gmail.com

Saturday, February 20, 2016

How to flush used memory on Linux


Result before drop_cache command

$ cat /proc/meminfo | grep MemFree

MemFree:        59842804 kB


Run following command as ROOT user

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


Result after drop_cache command

$ cat /proc/meminfo | grep MemFree
MemFree:        239955544 kB

========================================================================

No comments:

Post a Comment