You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So we continuously cross the boundaries of the memory limit, by going over it, and then by evicting keys to return back under the limits.
If a command results in a lot of memory being used (like a big set intersection stored into a new key) for some time the memory limit can be surpassed by a noticeable amount.
from http://redis.io/topics/lru-cache
The peak memory is > 20MB, so there are times where you use a lot more memory than the amount configured: for example during a very large pipeline Redis is unable to control the memory usage in the middle but only after the command execution. If you want to run with a such small memory limit, the operations you send to the server must also have a very small memory usage granularity.
We are running Redis 2.8.12 on Ubuntu precise (12.04.3 LTS), we use it as cache with configurations like:
But
INFO
output as follows:and somethings I set key but I got
OOM command not allowed when used memory > 'maxmemory'
:System memory usage:
My questions:
used_memory_peak_human
>maxmemory
?The text was updated successfully, but these errors were encountered: