Enabled memory profiling with finer granularity than 4 MiB and introduced a sampling memory profiler to capture random memory allocations and deallocations.
Why it matters
This feature addresses the limitation of coarse memory profiling steps (previously fixed at 4 MiB), allowing for more precise tracking of memory usage. The sampling memory profiler helps identify and analyze random allocation and deallocation events, providing deeper insight into memory behavior and aiding in performance tuning and debugging.How to use it
Users can enable the sampling memory profiler through ClickHouse's memory profiling settings to capture detailed memory allocation samples with finer granularity than before.