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