v.22.1Improvement
clickhouse-local: Monitor Memory with --max_memory_usage_in_client Option
clickhouse-local: track memory under--max_memory_usage_in_clientoption. #33341 (Azat Khuzhin).
Why it matters
This feature enhances resource management forclickhouse-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.