关于windows使用redis服务无法启动报堆大小不足问题

redis下载地址如下
链接:http://pan.baidu.com/s/1kU55csZ 密码:5j2z

运行
关于windows使用redis服务无法启动报堆大小不足问题_第1张图片

报错
关于windows使用redis服务无法启动报堆大小不足问题_第2张图片

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).
You may fix this problem by either reducing the size of the Redis heap with
the –maxheap flag, or by moving the heap file to a local drive with sufficient
space.
Please see the documentation included with the binary distributions for more
details on the –maxheap and –heapdir flags.
Redis can not continue. Exiting.

解决方案
打开redis.windows.conf文件
修改内容
关于windows使用redis服务无法启动报堆大小不足问题_第3张图片

运行成功
关于windows使用redis服务无法启动报堆大小不足问题_第4张图片

你可能感兴趣的:(redis)