linux内存可使用的计算方法:可用内存=free+buffers+cached
手动释放linux缓存:
free -m
sync (一定要在第三部之前)
echo 3 > /proc/sys/vm/drop_caches
free -m
echo 0 > /proc/sys/vm/drop_caches
linux内存可使用的计算方法:可用内存=free+buffers+cached
手动释放linux缓存:
free -m
sync (一定要在第三部之前)
echo 3 > /proc/sys/vm/drop_caches
free -m
echo 0 > /proc/sys/vm/drop_caches