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
RS: Added explanation of temporarily exceeding DB memory limits due to adaptive memory allocation (#1834)
* DOC-5275 RS: Added explanation of temporarily exceeding DB memory limits due to adaptive memory allocation
* Fixed outdated relref
* DOC-5275 Feedback updates for adaptive memory allocation section
* DOC-5275 Added an example of a DB temporarily exceeding its memory limit
Copy file name to clipboardExpand all lines: content/operate/rs/databases/memory-performance/memory-limit.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,18 @@ but tries to avoid stopping primary shards.
67
67
We recommend that you have a [monitoring platform]({{< relref "/operate/rs/monitoring/" >}}) that alerts you before a system gets low on RAM.
68
68
You must maintain sufficient free memory to make sure that you have a healthy Redis Enterprise installation.
69
69
70
+
## Adaptive memory allocation
71
+
72
+
In rare cases during high-velocity data ingestion, databases can temporarily reach up to 200% of their configured memory limit. This adaptive memory allocation strategy allows large amounts of data to be written to the database quickly without rejecting valid transactions.
73
+
74
+
For example, when pushing data at approximately 100 MB/sec into a 2 GB database:
75
+
- A database with 2 shards could reach 199% of its configured memory limit.
76
+
- A database with 4 shards could reach around 220% of its configured memory limit.
77
+
78
+
Databases should return to their configured memory limits after data is removed according to the [eviction policy]({{<relref "/operate/rs/databases/memory-performance/eviction-policy/">}}) and [time-to-live (TTL)]({{<relref "/develop/using-commands/keyspace#key-expiration">}}).
79
+
80
+
If you observe this behavior, consider [monitoring]({{< relref "/operate/rs/monitoring/" >}}) memory usage and controlling the traffic load on the application side.
81
+
70
82
## Memory metrics
71
83
72
84
The Cluster Manager UI provides metrics that can help you evaluate your memory use.
0 commit comments