Redis server can't run more than 1024M maxheap Redis server can't run more than 1024M maxheap powershell powershell

Redis server can't run more than 1024M maxheap


Redis doesn't use the conf file in its home directory by default. You have to pass the file in on the command line:

.\redis-server.exe redis.windows.conf

This is what is in my conf file:

maxheap 2048Mheapdir D:\\redisheap

These settings resolved my issue.


This is how to use the maxheap flag, which is more convenient then using a config file:

redis-server --maxheap 2gb


To back up Michael's response, I've had the same problem.

I had ~40GB of free space, and paging file set to 4G-8G. Redis did not want to start until I set paging file to the amount recommended by Windows themselves, which was 12GB.

Really odd beahaviour.