windows10启动redis服务报错:QForkMasterInit: system error caught. error code=0x000005af, message=VirtualAll

参考文档:https://blog.csdn.net/chinawangfei/article/details/51276105

主要原因磁盘吃紧。
解决方法:
在redis.windows.conf文件中设置maxheap和maxmemory这两个参数。

maxheap:180MB
maxmemory: 120MB

maxmemory和maxheap根据自己的电脑配置而定,通常情况下:

maxheap  = 1.5 * maxmemory
发布了62 篇原创文章 · 获赞 0 · 访问量 1247

猜你喜欢

转载自blog.csdn.net/weixin_45616246/article/details/103061983