windows下redis启动失败

D:\redis>redis-server.exe redis.conf
[] Oct ::39.789 #
The Windows version of Redis allocates a memory mapped heap for sharing with
the forked process used for persistence operations. In order to share this
memory, Windows allocates from the system paging file a portion equal to the
size of the Redis heap. At this time there is insufficient contiguous free
space available in the system paging file for this operation (Windows error
0x5AF). To work around this you may either increase the size of the system
paging file, or decrease the size of the Redis heap with the --maxheap flag.
Sometimes a reboot will defragment the system paging file sufficiently for
this operation to complete successfully. Please see the documentation included with the binary distributions for more
details on the --maxheap flag. Redis can not continue. Exiting.

没有足够的可用空间,可以增加系统的大小分页文件,或减少Redis的堆的大小

解决方法

(1)在启动命令后面加maxheap参数重新分配堆大小

redis-server.exe redis.conf --maxheap 1024000000

(2)修改配置文件redis.conf,添加

maxheap 1024000000

如果还不行,就清理磁盘

最新文章

  1. android layout布局属性
  2. [译]Node.js - Event Loop
  3. 《Linux内核分析》之第四章读书笔记
  4. 在VS2010下编译和使用tesseract_ocr识别验证码
  5. java动态编译类文件并加载到内存中
  6. Top 20 Java Libries Used by Github's Most Popular Java Projects
  7. 06链队列_LinkQueue--(栈与队列)
  8. 观【史上最牛linux视频教程】整理笔记,持续更新……
  9. bat文件调用shutdown命令不生效问题原因
  10. erlang套接字
  11. 超出区域文字显示为省略号或者剪切效果——CSS的生僻操作
  12. Java8 lamda表达式快速上手
  13. 暑假练习赛 007 A - Time
  14. java 快速排序
  15. 【考试】java基础知识测试,看你能得多少分?
  16. Golang的格式化输出fmt.Printf
  17. tf.trainable_variables()
  18. 【Nginx笔记】 fastcgi_param解释
  19. Django学习笔记之uWSGI详解
  20. Linux下的Nginx安装

热门文章

  1. 网站遭受CC攻击的解决办法
  2. swift,NSUserDefaults的swift化封装
  3. ActiveMQ队列特性:删除不活动的队列(Delete Inactive Destinations)
  4. Winform鼠标滑轮控制自定义滚动条
  5. hive之案例分析(grouping sets,lateral view explode, concat_ws)
  6. golang sqrt error练习
  7. 【C】——sigprocmask 阻塞进程信号
  8. 再谈git的http服务-权限控制gitweb版(未成功)
  9. 将Web项目War包部署到Tomcat服务器
  10. 记录一下寄几个儿的greendao数据库升级,可以说是非常菜鸡了嗯