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
相關文章
相關標籤/搜索