Redis allocates a large memory mapped file for sharing the heap with the forked process used in persistence operations
the heap with the forked process used in persistence operations)
启动redis 报错
使用scrapy时,启动redis报错,使用内存问题,报如下错误:
Redis allocates a large memory mapped file for sharing
the heap with the forked process used in persistence operations
1. cmd到redis文档,输入redis-server.exe redis.windows.conf
redis-server.exe redis.windows.conf
2.还是报错的话,
redis-server.exe redis.windows.conf --maxheap 1024000
3.直接修改redis.windows.conf
找到一个名为 “redis.windows.conf” 在Redis的folder.Search文本 “maxheap” 文件,在下一行插入“maxheap 1024000000”(或者你可以设置超过1024000000)。修改文件后重新启动redis服务器。
参考
[1]: http://cn.voidcc.com/question/p-rqcymcwz-ne.html