<< ..
Linux清除内存缓存
发布时间:我们有一台服务器会被java进程跑满缓存,留记此命令行备用。
# run as root
# ref: http://unix.stackexchange.com/questions/87908/how-do-you-empty-the-buffers-and-cache-on-a-linux-system
$ free -h && sync && echo 3 > /proc/sys/vm/drop_caches && free -h