cached过高导致内存溢出 java head space

 最近公司线上遇到老是内存溢出检查后发现cached过高 命令:free -m 命令:sync    //将缓存写入硬盘   cat /etc/redhat-release 这个是查看系统版本的命令centos or other。  命令:echo 1 > /proc/sys/vm/drop_caches  清理缓存 权限可能是root     由于是搜索查询 的一个系统所以IO写入索引较多所以c
相关文章
相关标签/搜索