redis 服务启动不了 QForkMasterInit: system error caught. error code=0x000005af, message=VirtualAllocEx failed

启动报错 

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

 

 

主要原因是磁盘吃紧。
具体解决方法是:
 
1、redis的conf文件设置参数maxheap和maxmemory。
 
maxmemory 120MB 
maxheap 180MB
 
maxmemory和maxheap根据自己的电脑配置而定,通常情况下:
maxheap  = 1.5 * maxmemory
文章来自:http://www.cnblogs.com/zhizhong/p/4861065.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3