jemalloc
« Back to VersTracker
Description:
Implementation of malloc emphasizing fragmentation avoidance
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: System utilities
Tags: memory-management c-library performance profiling malloc
Install: brew install jemalloc
About:
Jemalloc is a general-purpose malloc implementation that emphasizes fragmentation avoidance and scalable concurrency support. It is widely used in large-scale applications like Facebook and FreeBSD to manage memory efficiently under heavy multithreaded workloads. The library provides robust profiling and leak detection capabilities, making it a powerful tool for optimizing application performance and stability.
Key Features:
  • Scalable multi-threaded memory allocation
  • Advanced fragmentation avoidance strategies
  • Built-in memory profiling and leak detection
  • Tunable allocation behaviors via runtime options
Use Cases:
  • High-performance server applications requiring efficient memory management
  • Debugging memory leaks and fragmentation in production systems
Alternatives:
  • tcmalloc – Google's allocator, optimized for low contention; Jemalloc often excels in long-running, fragmented workloads.
  • mimalloc – Microsoft's compact allocator focusing on speed; Jemalloc offers more mature profiling and tuning options.
Version History
Detected Version Rev Change Commit