>  기사  >  데이터 베이스  >  Redis 오류 Windows 오류 0x70에 대한 해결 방법

Redis 오류 Windows 오류 0x70에 대한 해결 방법

尚
앞으로
2020-06-01 08:57:493225검색

Redis 오류 Windows 오류 0x70에 대한 해결 방법

redis는 메모리가 충분하지 않다고 생각하여 두 번째 인스턴스를 열지 않습니다. Windows 버전의 Redis는 지속성 작업에 사용되는 포크된 프로세스로 힙을 공유하기 위해 대용량 메모리 매핑 파일을 할당합니다. 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 지식을 알고 싶다면

redis 입문 튜토리얼

칼럼을 주목해 주세요.

위 내용은 Redis 오류 Windows 오류 0x70에 대한 해결 방법의 상세 내용입니다. 자세한 내용은 PHP 중국어 웹사이트의 기타 관련 기사를 참조하세요!

성명:
이 기사는 cnblogs.com에서 복제됩니다. 침해가 있는 경우 admin@php.cn으로 문의하시기 바랍니다. 삭제