[CP] temporarily unlimited memory before init config

This commit is contained in:
obdev
2023-12-07 07:11:44 +00:00
committed by ob-robot
parent 8e3236dca2
commit 3dd5be7901

View File

@ -433,6 +433,9 @@ static void print_all_thread(const char* desc)
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
// temporarily unlimited memory before init config
set_memory_limit(INT_MAX64);
#ifdef ENABLE_SANITY #ifdef ENABLE_SANITY
backtrace_symbolize_func = oceanbase::common::backtrace_symbolize; backtrace_symbolize_func = oceanbase::common::backtrace_symbolize;
#endif #endif