Skip to content

Commit 3f2cda4

Browse files
committed
DOC-5275 Added an example of a DB temporarily exceeding its memory limit
1 parent 99fbf57 commit 3f2cda4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/operate/rs/databases/memory-performance/memory-limit.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ You must maintain sufficient free memory to make sure that you have a healthy Re
7171

7272
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.
7373

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+
7478
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">}}).
7579

7680
If you observe this behavior, consider [monitoring]({{< relref "/operate/rs/monitoring/" >}}) memory usage and controlling the traffic load on the application side.

0 commit comments

Comments
 (0)