Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion cpp/src/arrow/memory_pool.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,15 @@

const char* je_arrow_malloc_conf =
("oversize_threshold:0"
#ifdef USE_JEMALLOC_BACKGROUND_THREAD
",dirty_decay_ms:1000"
",muzzy_decay_ms:1000"
#ifdef USE_JEMALLOC_BACKGROUND_THREAD
",background_thread:true"
#else
// ARROW-6994: return memory immediately to the OS if the
// background_thread option isn't available
",dirty_decay_ms:0"
",muzzy_decay_ms:0"
#endif
JEMALLOC_DEBUG_OPTIONS); // NOLINT: whitespace/parens

Expand Down