Windows版本的Redis从系统分页文件中保留堆内存 用于与用于持久操作的派生进程共享。此时,中没有足够的连续空闲空间可用 系统的分页文件。您可以增加系统分页文件的大小。

Redis启动异常:

The Windows version of Redis reserves heap memory from the system paging file
for sharing with the forked process used for persistence operations.At this time there is insufficient contiguous free space available in the
system paging file. You may increase the size of the system paging file.
Sometimes a reboot will defragment the system paging file sufficiently for
this operation to complete successfully.

原本以为是内存不足导致的Redis启动不起来,后来在配置文件中增加了内存,但是还是会挂掉。后来发现问题出在Windows系统虚拟内存的分页上……

解决办法:

计算机->高级系统设置->高级->性能设置->高级->虚拟内存更改->选择Redis所在的盘自定义大小设置,完了重启Redis服务就好了。

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值