What happens when redis runs out of memory?

Alibaba cloud Q & A 2022-02-13 08:31:13 阅读数:399

happens redis runs memory

Redis What happens when you run out of memory ?




Take the answer 1:

If the set upper limit is reached ,Redis The write command of will return an error message ( But the read command can return normally .) Or you can configure the memory knockout mechanism , When Redis Reaching the memory limit will flush out old content .


copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130831121844.html