redis无法启动问题

使用命令redis-server.exe   redis.windows.conf临时安装redis,结果报错:



The Windows version of Redis allocates a memory mapped heap forsharing with

the forked process used for persistenceoperations. In order to share this

memory, Windows allocates from the systempaging file a portion equal to the

size of the Redis heap. At this time thereis insufficient contiguous free

space available in the system paging filefor this operation (Windows error

0x5AF). To work around this you may eitherincrease the size of the system

paging file, or decrease the size of theRedis heap with the --maxheap flag.

Sometimes a reboot will defragment thesystem paging file sufficiently for

this operation to complete successfully.


增加分配内存参数:redis-server.exe   redis.windows.conf --maxheap 200m

猜你喜欢

转载自huaihuai440.iteye.com/blog/2372618