QForkMasterInit: system error caught. error code=0x000005af, message=VirtualAllocEx failed.(遇到還沒試過)


今天在使用Redis的時候出現以下錯誤:

QForkMasterInit: system error caught. error code=0x000005af, message=VirtualAllocEx failed.

主要原因是磁盤吃緊。

 具體解決方法是:

redis的conf文件設置參數maxheap和maxmemory。

maxmemory 120MB 

maxheap 180MB

maxmemory和maxheap根據自己的電腦配置而定,通常情況下:

maxheap  = 1.5 * maxmemory


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM