v.23.8Improvement

New Memory Profiler Features: Min/Max Allocation Size Tracking

Now it's possible to specify min (memory_profiler_sample_min_allocation_size) and max (memory_profiler_sample_max_allocation_size) size for allocations to be tracked with sampling memory profiler. #52779 (alesapin).
Added the ability to specify minimum and maximum allocation sizes for sampling in the memory profiler using memory_profiler_sample_min_allocation_size and memory_profiler_sample_max_allocation_size settings.

Why it matters

This feature allows users to fine-tune the memory profiler by tracking only allocations within a specified size range, reducing noise from very small or very large allocations and improving profiling accuracy and performance.

How to use it

To use this feature, set the memory_profiler_sample_min_allocation_size and/or memory_profiler_sample_max_allocation_size settings to the desired byte thresholds before or during profiling sessions.