清理内存的缓存

做清理之前最好做一下存盘

sync

清理缓存

echo 1 > /proc/sys/vm/drop_caches

查看清理后的内存

free -h

猜你喜欢

转载自www.cnblogs.com/xiaoyaoren/p/9854500.html
今日推荐