v.23.12Improvement

Support for Soft Memory Limit in Keeper

Support for soft memory limit in Keeper. It will refuse requests if the memory usage is close to the maximum. #57271 (Han Fei). #57699 (Han Fei).
Introduces a soft memory limit feature in ClickHouse Keeper that refuses requests when memory usage approaches the configured maximum.

Why it matters

The feature prevents Keeper from over-consuming memory by rejecting incoming requests once memory usage nears the set soft limit, thereby enhancing system stability and avoiding out-of-memory issues under high load.

How to use it

Enable the soft memory limit by configuring the maximum allowed memory usage for Keeper in its settings. When the memory usage approaches this threshold, Keeper will start refusing new requests automatically.