From 3dd5be79014bed2522c43a601f44d6c83b9c05a6 Mon Sep 17 00:00:00 2001 From: obdev Date: Thu, 7 Dec 2023 07:11:44 +0000 Subject: [PATCH] [CP] temporarily unlimited memory before init config --- src/observer/main.cpp | 3 +++ 1 file changed, 3 insertions(+) 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