刘满博客

windows下redis

下载https://github.com/MicrosoftArchive/redis/releases

cmd启动redios快捷方式

@echo off
redis-server  redis.windows.conf
@pause

安装Redis Service

redis-server --service-install redis.windows.conf

卸载Redis Service

redis-server --service-uninstall

启动Redis Service

redis-server --service-start

停止Redis Service

redis-server --service-stop

提示:The Windows version of Redis allocates a memory mapped heap for sharing with the forked process used for persistence operations.

是 maxheap 标识有问题,打开配置文件 redis.windows.conf ,搜索# maxheap <bytes>

下面添加maxheap 1024000000


已发布

分类

作者:

标签

评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据