Redis之启动失败-yellowcong

刚启动redis的时候,就报错,说堆的设置有问题,需要设置配置文件的maxheap ,来解决这个问题了。

下载地址

#window下载安装包
http://yellowcong.qiniudn.com/redis-windows-master.zip

启动失败

大概意思是:没有足够的可用空间,可以增加系统的大小分页文件,或减少Redis的堆的大小
使用–maxheap标志。还有第二种,就是修改配置文件

The Windows version of Redis allocates a large memory mapped file for sharing
the heap with the forked process used in persistence operations. This file
will be created in the current working directory or the directory specified by
the 'heapdir' directive in the .conf file. Windows is reporting that there is
insufficient disk space available for this file (Windows error 0x70).

这里写图片描述

解决办法

修改redis的配置文件
这里写图片描述

添加下面配置,设置最大堆大小

maxheap 1024000

这里写图片描述

启动正常
这里写图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

狂飙的yellowcong

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值