刚启动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
启动正常