溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點(diǎn)擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

redis顯示W(wǎng)indows error 0x70錯(cuò)誤的解決方法

發(fā)布時(shí)間:2020-06-01 17:36:53 來源:億速云 閱讀:949 作者:鴿子 欄目:關(guān)系型數(shù)據(jù)庫

redis 嫌棄你內(nèi)存不夠了,就給你不開第二個(gè)實(shí)例。 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參數(shù)

maxheap 10240000

這個(gè)方法我使用未能解決

2:啟動(dòng)加maxheap參數(shù)

redis-server.exe --maxheap 10240000

多少個(gè)0根據(jù)數(shù)據(jù)情況配置,不要太多了

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報(bào)錯(cuò)Windows error 0x70的解決方法的詳細(xì)內(nèi)容,更多請關(guān)注億速云其它相關(guān)文章!

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI