Enable memory profiling cargo build --bin databend-query --release --features memory-profiling 2.
代码地址:https://github.com/tirthajyoti/Machine-Learning-with-Python/blob/master/Memory-profiling/Scalene