1. Problems
When you use redis-server.exe to startup directly, it will flashback. When it is started with script and configuration file, it will also flashback. When it is started with command line, an error will be reported:
[23848] 16 Mar 16:10:32.565 # QForkMasterInit: system error caught. error code=0x000005af, message=VirtualAllocEx failed.: unknown error
2. Solutions
Redis’s conf file sets the parameters maxheap and maxmemory
maxmemory 120MB
maxheap 180MB
Maxmemory and maxheap depend on your computer configuration. Usually: maxheap = 1.5 * maxmemory