zoukankan      html  css  js  c++  java
  • redis报错Windows error 0x70(a large memory)

    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:soft
    edis-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
    edis-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.
    

      

  • 相关阅读:
    ensp上防火墙上配置nat
    简单介绍oracle误删除表和表数据的恢复方法
    linux基本命令介绍(二)
    linux基本命令介绍(一)
    Vsan分布式文件系统逻辑架构损坏恢复过程
    iPhone手机硬件拆解介绍
    硬盘分区损坏导致SqlServer数据丢失怎么恢复
    安卓手机密码工作原理及破解方式
    EMC UNITY 400存储卷删除数据恢复案例
    服务器2块硬盘掉线的数据恢复过程分享
  • 原文地址:https://www.cnblogs.com/jifeng/p/4456251.html
Copyright © 2011-2022 走看看