v.21.9Improvement

Track Memory Usage in ClickHouse Client

Track memory usage in clickhouse-client. #27191 (Filatenkov Artur).
Adds memory usage tracking capability to clickhouse-client.

Why it matters

This feature enables users to monitor and track the memory consumption of the clickhouse-client process, helping diagnose memory-related issues and optimize client-side resource usage.

How to use it

When using the clickhouse-client, memory usage statistics are tracked automatically, allowing users to observe memory metrics during client sessions without additional configuration.