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

来源:互联网 发布:java图片管理系统 编辑:程序博客网 时间:2024/06/16 05:24

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

运行
这里写图片描述

报错
这里写图片描述

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文件
修改内容
这里写图片描述

运行成功
这里写图片描述

阅读全文
0 0
原创粉丝点击