redis显示Windowserror0x70错误的解决方法
redis 嫌弃你内存不够了,就给你不开第二个实例。 The Windows version of Redis allocates a large memory mapped file for sharing
创新互联公司:于2013年创立为各行业开拓出企业自己的“网站建设”服务,为近千家公司企业提供了专业的成都网站设计、成都做网站、网页设计和网站推广服务, 按需求定制制作由设计师亲自精心设计,设计的效果完全按照客户的要求,并适当的提出合理的建议,拥有的视觉效果,策划师分析客户的同行竞争对手,根据客户的实际情况给出合理的网站构架,制作客户同行业具有领先地位的。
the heap with the forked process used in persistence operations.这句话说的很明白了
解决办法:
1:改redis.windows.conf中的maxheap参数
maxheap 10240000
这个方法我使用未能解决
2:启动加maxheap参数
redis-server.exe --maxheap 10240000
多少个0根据数据情况配置,不要太多了
D:\soft\redis-2.8.19>redis-server.exe [6188] 25 Apr 17:24:16.819 # 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. D:\soft\redis-2.8.19>redis-server.exe [6420] 25 Apr 17:25:01.668 # 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 error 0x70的解决方法的详细内容,更多请关注创新互联其它相关文章!
当前文章:redis显示Windowserror0x70错误的解决方法
当前网址:http://ybzwz.com/article/gesipi.html