Redis ignores maxmemory setting

Redis has the following settings:

" config get maxmemory "

1) "maxmemory"
2) "2147483648"

(which is 2G)

But when I do the " information "

used_memory:6264349904
used_memory_human:5.83G
used_memory_rss:6864515072

It is clear that he ignores all the settings ... Why?

PS

" config get maxmemory-policy " shows:

1) "maxmemory-policy" 
2) "volatile-ttl" 

and: " config get maxmemory-samples " shows:

1) "maxmemory-samples" 
2) "3" 

Which means they should expire with the closest expiration date ...

+5
source share
2 answers

? volatile-ttl . .

, ttls set allkeys-lru allkeys-random .

+2

http://redis.io/topics/faq

"maxmemory" , , Redis. , Redis ( ).

0

All Articles