From d5400d199aa598076768e3e574ca51c454cb02a6 Mon Sep 17 00:00:00 2001 From: Micah Wylde Date: Thu, 26 Sep 2024 09:32:49 -0700 Subject: [PATCH] Disable jemalloc on macos due to potential UDF FFI allocation inconsistencies --- crates/arroyo/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/arroyo/src/main.rs b/crates/arroyo/src/main.rs index ed35ef558..bf531d57d 100644 --- a/crates/arroyo/src/main.rs +++ b/crates/arroyo/src/main.rs @@ -25,6 +25,7 @@ use uuid::Uuid; #[cfg(all( not(target_env = "msvc"), + not(target_os = "macos"), any(target_arch = "x86_64", target_arch = "aarch64") ))] #[global_allocator] @@ -33,6 +34,7 @@ static ALLOC: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc; #[cfg(all( feature = "profiling", not(target_env = "msvc"), + not(target_os = "macos"), any(target_arch = "x86_64", target_arch = "aarch64") ))] #[allow(non_upper_case_globals)]