Drop_caches clears the system cache
For program exception terminal, the data in cache is not synchronized to disk. You need to call sync to synchronize data to disk first, and then empty drop_caches cache.
Use sync command to synchronize data to disk before emptying cache
# cat /proc/sys/vm/drop_caches
Default is 0, 1 to clear page cache, 2 to clear inode and directory tree cache, 3 to clear all cache
#sync
#free -m
total used free shared buffers cached
Mem: 23953 4741 19211 0 967 2129
-/+ buffers/cache: 1644 22308
Swap: 12047 0 12047
#echo 3 > /proc/sys/vm/drop_caches
#free -m //cache detail reduction will be found
total used free shared buffers cached
Mem: 23953 735 23218 0 3 74
-/+ buffers/cache: 656 23296
Swap: 12047 0 12047