Redis administration link(https://redis.io/topics/virtual-memory) recommends configuring swap.

"Make sure to setup some swap in your system (we suggest as much as swap as memory). If Linux does not have swap and your Redis instance accidentally consumes too much memory, either Redis will crash for out of memory or the Linux kernel OOM killer will kill the Redis process. When swapping is enabled Redis will work in a bad way, but you'll likely notice the latency spikes and do something before it's too late."

But virtual memory article says that it is disabled from 2.4 (http://redis.io/topics/virtual-memory)

So above guidelines in administration, should not be applicable for redis > 2.4. Can some please confirm that?

Comment From: itamarhaber

Hello @thesreyas

Yes, that recommendation relates to earlier versions of Redis. For modern versions, the usual recommendation is turning swap off.

Keep in mind that this issue tracker should be used for reporting bugs or proposing improvements to the Redis server. Kindly close this one.

Questions should be directed to the community:

Comment From: itamarhaber

This issue will now be closed - please feel free to reopen if needed.