diff --git a/src/observer/main.cpp b/src/observer/main.cpp index 2800a03ff7..ddf6ee1892 100644 --- a/src/observer/main.cpp +++ b/src/observer/main.cpp @@ -433,6 +433,9 @@ static void print_all_thread(const char* desc) int main(int argc, char *argv[]) { + // temporarily unlimited memory before init config + set_memory_limit(INT_MAX64); + #ifdef ENABLE_SANITY backtrace_symbolize_func = oceanbase::common::backtrace_symbolize; #endif