重庆小潘seo博客

当前位置:首页 > 重庆网络营销 > 小潘杂谈 >

小潘杂谈

redis报错Windows error 0x70的解决方法

时间:2020-09-23 08:40:08 作者:重庆seo小潘 来源:
redis 嫌弃你内存不够了,就给你不开第二个实例。 The Windows version of Redis allocates a large memory mapped file for sharing the heap with the forked process used in persistence operations.这句话说的很明白了 解决办法: 1:改redis.windows.c

redis报错Windows error 0x70的解决方法

redis 嫌弃你内存不够了,就给你不开第二个实例。 The Windows version of Redis allocates a large memory mapped file for sharing

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:softredis-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 sharingthe heap with the forked process used in persistence operations. This filewill be created in the current working directory or the directory specified bythe 'heapdir' directive in the .conf file. Windows is reporting that there isinsufficient disk space available for this file (Windows error 0x70). You may fix this problem by either reducing the size of the Redis heap withthe --maxheap flag, or by moving the heap file to a local drive with sufficientspace.Please see the documentation included with the binary distributions for moredetails on the --maxheap and --heapdir flags. Redis can not continue. Exiting. D:softredis-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 sharingthe heap with the forked process used in persistence operations. This filewill be created in the current working directory or the directory specified bythe 'heapdir' directive in the .conf file. Windows is reporting that there isinsufficient disk space available for this file (Windows error 0x70). You may fix this problem by either reducing the size of the Redis heap withthe --maxheap flag, or by moving the heap file to a local drive with sufficientspace.Please see the documentation included with the binary distributions for moredetails on the --maxheap and --heapdir flags. Redis can not continue. Exiting.更多redis知识请关注redis入门教程栏目。以上就是redis报错Windows error 0x70的解决方法的详细内容,更多请关注小潘博客其它相关文章!