v.22.1Improvement

clickhouse-local: Monitor Memory with --max_memory_usage_in_client Option

clickhouse-local: track memory under --max_memory_usage_in_client option. #33341 (Azat Khuzhin).
The clickhouse-local tool now tracks memory usage under the --max_memory_usage_in_client option.

Why it matters

This feature enhances resource management for clickhouse-local by enforcing user-defined memory limits. It helps prevent excessive memory consumption during local query executions, improving stability and predictability.

How to use it

Use the --max_memory_usage_in_client command-line option when running clickhouse-local to set a maximum memory usage limit for the client process. The tool will track memory usage and restrict it according to the specified limit.