From 6d13b42d9874f1c3d47938a45c02a70f54ff6465 Mon Sep 17 00:00:00 2001 From: Yuhao Su Date: Fri, 8 Nov 2024 10:33:17 -0800 Subject: [PATCH] init --- src/frontend/src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/frontend/src/lib.rs b/src/frontend/src/lib.rs index 5c006e191157e..a6163e009607c 100644 --- a/src/frontend/src/lib.rs +++ b/src/frontend/src/lib.rs @@ -147,6 +147,11 @@ pub struct FrontendOpts { #[override_opts(path = server.metrics_level)] pub metrics_level: Option, + /// Enable heap profile dump when memory usage is high. + #[clap(long, hide = true, env = "RW_HEAP_PROFILING_DIR")] + #[override_opts(path = server.heap_profiling.dir)] + pub heap_profiling_dir: Option, + #[clap(long, hide = true, env = "ENABLE_BARRIER_READ")] #[override_opts(path = batch.enable_barrier_read)] pub enable_barrier_read: Option,