gpt4 book ai didi

Redis 服务器不启动或不执行任何操作 - Windows 上的 Redis-64

转载 作者:可可西里 更新时间:2023-11-01 11:21:54 24 4
gpt4 key购买 nike

我正在按照此链接上概述的这些步骤进行操作,但是当我尝试启动服务器时没有任何反应,也无法从客户端连接到任何内容。有谁知道如何运行它?

当我尝试从命令提示符而不是双击 redis-server.exe 时,我收到了这条消息

[11868] 23 Jul 11​​:58:26.325 # QForkMasterInit:发现系统错误。错误代码=0x000005af, message=VirtualAllocEx failed.: 未知错误

http://bartwullems.blogspot.ca/2013/07/unofficial-redis-for-windows.html

The easiest way to install Redis is through NuGet:

Open Visual Studio
Create an empty solution so that NuGet knows where to put the packages
Go the Package Manager Console: Tools –> Library Package Manager –>Package Manager Console
Type Install-Package Redis-64

image

Go to the Packages folder and browse to the Tools folder. Here you’ll find the Redis-server.exe. Double click on it to start it.

Redis is ready to use and start’s listening on a specific port(6379 in my case)

image

Let’s open up a client and try to put a value into Redis. Start Redis-cli.exe. It already connects to the same port by default.

image

Add a value by executing following command:

image

Read the value again:

image

最佳答案

尝试用redis-server --maxheap 4000000运行

关于Redis 服务器不启动或不执行任何操作 - Windows 上的 Redis-64,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24915421/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com