Xinyi Zou
58cb404661
[fix](memory) Allocator throws Exception instead of std::bad_alloc (#19285)
W0505 01:31:25.840227 1727715 scanner_scheduler.cpp:340] Scan thread read VScanner failed: [MEM_LIMIT_EXCEEDED]PreCatch error code:11, [E11] Allocator sys memory check failed: Cannot alloc:16384, consuming tracker:<Orphan>, exec node:<>, process memory used 5.87 GB exceed limit 5.64 GB or sys mem available 252.17 GB less than low water mark 1.60 GB, failed alloc size 16.00 KB.
@ 0x555c19e0cca8 doris::Exception::Exception()
@ 0x555c1c3e0c3f Allocator<>::sys_memory_check()
@ 0x555c1c3e1052 Allocator<>::memory_check()
@ 0x555c19e0a645 Allocator<>::alloc()
@ 0x555c1c34508b COWHelper<>::create<>()
@ 0x555c1e23f574 doris::vectorized::ConvertThroughParsing<>::execute<>()
@ 0x555c1e23f209 doris::vectorized::FunctionConvertFromString<>::execute_impl()
@ 0x555c1e23f4aa doris::vectorized::FunctionConvertFromString<>::execute_impl()
@ 0x555c1e15ac29 doris::vectorized::PreparedFunctionImpl::execute_without_low_cardinality_columns()
@ 0x555c1e15ac56 doris::vectorized::PreparedFunctionImpl::execute()
@ 0x555c1e245276 _ZNSt17_Function_handlerIFN5doris6StatusEPNS0_15FunctionContextERNS0_10vectorized5BlockERKSt6vectorImSaImEEmmEZNKS4_12FunctionCast14create_wrapperINS4_14DataTypeNumberIiEEEESt8functionISC_ERKSt10shared_ptrIKNS4_9IDataTypeEEPKT_bEUlS3_S6_SB_mmE_E9_M_invokeERKSt9_Any_dataOS3_S6_SB_OmSY_
@ 0x555c1e2a9341 _ZZNK5doris10vectorized12FunctionCast23prepare_remove_nullableEPNS_15FunctionContextERKSt10shared_ptrIKNS0_9IDataTypeEES9_bENKUlS3_RNS0_5BlockERKSt6vectorImSaImEEmmE_clES3_SB_SG_mm
@ 0x555c1e2a8d42 _ZNSt17_Function_handlerIFN5doris6StatusEPNS0_15FunctionContextERNS0_10vectorized5BlockERKSt6vectorImSaImEEmmEZNKS4_12FunctionCast23prepare_remove_nullableES3_RKSt10shared_ptrIKNS4_9IDataTypeEESJ_bEUlS3_S6_SB_mmE_E9_M_invokeERKSt9_Any_dataOS3_S6_SB_OmSQ_
@ 0x555c1e20e42b doris::vectorized::PreparedFunctionCast::execute_impl()
@ 0x555c1e15ac29 doris::vectorized::PreparedFunctionImpl::execute_without_low_cardinality_columns()
@ 0x555c1e15ac56 doris::vectorized::PreparedFunctionImpl::execute()
@ 0x555c1d63e960 doris::vectorized::IFunctionBase::execute()
@ 0x555c1d628700 doris::vectorized::VCastExpr::execute()
@ 0x555c1d6163e5 doris::vectorized::VExprContext::execute()
@ 0x555c20a83fe1 doris::vectorized::VFileScanner::_convert_to_output_block()
@ 0x555c20a809af doris::vectorized::VFileScanner::_get_block_impl()
@ 0x555c209b9bc4 doris::vectorized::VScanner::get_block()
@ 0x555c209b1a50 doris::vectorized::ScannerScheduler::_scanner_scan()
@ 0x555c209b2ac1 _ZNSt17_Function_handlerIFvvEZZN5doris10vectorized16ScannerScheduler18_schedule_scannersEPNS2_14ScannerContextEENK3$_0clEvEUlvE1_E9_M_invokeERKSt9_Any_data
@ 0x555c1a8378cf doris::ThreadPool::dispatch_thread()
@ 0x555c1a830fac doris::Thread::supervise_thread()
@ 0x7f461faa117a start_thread
@ 0x7f462033bdf3 __GI___clone
@ (nil) (unknown)
2023-05-05 18:01:48 +08:00
..
2023-04-19 23:11:48 +08:00
2023-05-05 18:01:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-25 14:33:47 +08:00
2023-04-19 23:11:48 +08:00
2023-04-20 18:59:08 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-23 15:07:28 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-03-30 10:49:50 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-03-15 10:51:29 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-05-05 18:01:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-25 14:33:47 +08:00
2022-12-08 14:52:52 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-24 10:32:11 +08:00
2023-04-19 23:11:48 +08:00
2023-04-28 20:46:39 +08:00
2023-04-26 21:01:20 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-26 15:10:12 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-05-03 17:48:13 +08:00
2023-04-24 23:36:47 +08:00
2023-04-26 16:50:19 +08:00
2023-04-26 16:50:19 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-02-10 11:00:33 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-24 10:32:11 +08:00
2023-04-24 09:41:57 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-26 21:01:20 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-03-19 14:05:02 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2020-05-25 21:24:56 +08:00
2023-04-19 23:11:48 +08:00
2023-04-26 21:01:20 +08:00
2023-04-26 21:01:20 +08:00
2023-04-27 14:07:57 +08:00
2023-04-19 23:11:48 +08:00
2023-04-24 09:41:57 +08:00
2023-04-24 10:32:11 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-10 10:56:07 +08:00
2023-02-10 11:00:33 +08:00
2023-04-19 23:11:48 +08:00
2023-04-24 23:36:47 +08:00
2023-04-24 23:36:47 +08:00
2023-04-19 23:11:48 +08:00
2023-05-05 18:01:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-03-20 16:27:08 +08:00
2023-04-19 23:11:48 +08:00
2023-04-20 11:02:53 +08:00
2023-04-22 10:15:51 +08:00
2023-04-22 10:15:51 +08:00