redis启动失败

redis-server.exe redis.windows.conf
使用上面命令启动redis服务的时候报了以下错误信息:
 
  
The Windows version of Redis allocates a memory mapped heapforsharingwith
the forkedprocess used for persistence operations. In order to share this
memory, Windows allocates from the system paging file a portion equal tothe
size ofthe Redisheap. At this time there is insufficient contiguousfree
spaceavailable in the system paging fileforthisoperation(Windows error
0x5AF). To work around this you may either increase the size ofthe system
pagingfile, or decrease the size of theRedis heap with the --maxheap flag.
Sometimesa reboot willdefragment the system paging file sufficiently for
thisoperation tocomplete successfully.
 
Please see the documentationincluded with the binary distributionsformore
details onthe --maxheap flag.
    大概意思是: 没有足够的 可用空间, 可以增加系统的大小 分页文件,或减少Redis的堆的大小
使用--maxheap标志。
有时重启将充分整理系统分页文件(重启可以解决)
可以再启动命令后面加maxheap参数重新分配堆大小。
 
  
redis-server.exe redis.windows.conf --maxheap 200m
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值