nosql - Error when Open Redis server -
i download redis 2.8.19 on windows, run properly. after reboot computer, try open , error show :
[]5880] 14 may 15:42:12.227# windows version of redis allocates large memory mapped file sharing heap forked process used in persistence operations. file created in current working directory or directory specified 'heapdir' directive in .conf file. windows reporting there insufficient disk space available file (windows error 0x70).
you may fix problem either reducing size of redis heap --maxheap flag, or moving heap file local drive sufficient space. please see documentation included binary distributions more details on --maxheap , --heapdir flags.
redis can not continue. exiting.
i cant find heap file , dont know how reduce size of redis heap. !
during fork() operations total page file commit max out @ around:
(size of physical memory) + (2 * size of maxheap)
for instance, on machine 8gb of physical ram, max page file commit default maxheap size (8)+(2*8) gb , or 24gb.
if don’t give hints redis, error similar following:
the windows version of redis allocates large memory mapped file sharing heap forked process used in persistence operations. file created in current working directory or directory specified ‘heapdir’ directive in .conf file. windows reporting there insufficient disk space available file (windows error 0x70). may fix problem either reducing size of redis heap –maxheap flag, or moving heap file local drive sufficient space. please see documentation included binary distributions more details on –maxheap , –heapdir flags. redis can not continue. exiting.
to around limitation, specify –maxheap flag when starting redis, using value relevant machine:
redis-server –-maxheap 1gb
link : installing redis cache locally in development environment
Comments
Post a Comment