0
点赞
收藏
分享

微信扫一扫

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


今天打开redis发现出现 QForkMasterInit: system error caught. error code=0x000005af, message=VirtualAllocEx failed.: unknow错误,经查阅相关质料发现是因为没有设置redis的最大内存所导致

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

在redis的配置文件(我的是windows版本的)中加入maxmemory和maxheap配置(单位为字节)

maxmemory 268435456
maxheap 314572800

QForkMasterInit: system error caught. error code=0x000005af, message=VirtualAllocEx failed.: unknow_内存_02

再次启动,成功!记得一定要加上配置文件

redis-server.exe redis.windows.conf

QForkMasterInit: system error caught. error code=0x000005af, message=VirtualAllocEx failed.: unknow_内存_03

 

举报

相关推荐

0 条评论