File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 4646// See discussion in https://github.com/jemalloc/jemalloc/issues/1621
4747
4848#ifdef NDEBUG
49- const char * je_arrow_malloc_conf = " oversize_threshold:0,dirty_decay_ms:0,muzzy_decay_ms:0" ;
49+ const char * je_arrow_malloc_conf =
50+ (" oversize_threshold:0,"
51+ " dirty_decay_ms:1000,"
52+ " muzzy_decay_ms:1000,"
53+ " background_thread:true" );
5054#else
5155// In debug mode, add memory poisoning on alloc / free
52- const char * je_arrow_malloc_conf = " oversize_threshold:0,junk:true" ;
56+ const char * je_arrow_malloc_conf =
57+ (" oversize_threshold:0,"
58+ " junk:true,"
59+ " dirty_decay_ms:1000,"
60+ " muzzy_decay_ms:1000,"
61+ " background_thread:true" );
5362#endif
5463#endif
5564
You can’t perform that action at this time.
0 commit comments