v.21.1Improvements

Avoid Server Termination Due to Low Memory Limits

Avoid server abnormal termination in case of too low memory limits (max_memory_usage = 1 / max_untracked_memory = 1). #17453 (Azat Khuzhin).
Prevent server abnormal termination when memory limits are set extremely low, such as max_memory_usage = 1 or max_untracked_memory = 1.

Why it matters

This feature addresses the issue where ClickHouse server could terminate unexpectedly if very low memory limits are configured. It improves stability by handling such edge cases gracefully, ensuring the server remains operational even with minimal memory allocations.

How to use it

To benefit from this feature, users should upgrade to the version including this fix. After upgrading, they can safely set low memory limits like max_memory_usage or max_untracked_memory without risking server crashes.