Skip to content

Commit

Permalink
Disable jemalloc on macos due to potential UDF FFI allocation inconsi…
Browse files Browse the repository at this point in the history
…stencies
  • Loading branch information
mwylde committed Sep 26, 2024
1 parent 5f33310 commit d5400d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/arroyo/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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)]
Expand Down

0 comments on commit d5400d1

Please sign in to comment.