#jemalloc-allocator #polkadot #shim #global-allocator #blockchain

polkadot-jemalloc-shim

Shim crate to enable jemalloc-allocator feature for polkadot crates and setting global allocator to jemalloc

2 unstable releases

new 0.1.1 Feb 17, 2026
0.0.0 Jan 8, 2026

#15 in #jemalloc-allocator

GPL-3.0-only

190KB
2K SLoC

Shim crate to enable jemalloc-allocator feature for Polkadot crates.

Because there doesn't exist any easier way right now, we need an entire crate to handle jemalloc enabling/disabling. This way we can enable it by default on Linux, but have it optional on all other OSes.

Dependencies

~0–57MB
~879K SLoC