jemalloc

Install command:
brew install jemalloc

Implementation of malloc emphasizing fragmentation avoidance

https://jemalloc.net/

License: BSD-2-Clause

Development: Pull requests

Formula JSON API: /api/formula/jemalloc.json

Formula code: jemalloc.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 5.4.0
head ⚡️ HEAD

Binaries: jemalloc-config, jemalloc.sh, jeprof

GitHub Packages downloads:

Last 30 days621,120
Downloads13,605,876
Analytics install events (30 days)16,948
Downloads / install events (30 days)36.7×

Source: GitHub Packages, fetched 2026-11-12T00:52:03Z. Analytics dates: 2026-10-13 to 2026-11-12. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs16,94560,27878,018
Installs (--HEAD)3718
Installs on Request6582,20712,928
Installs on Request (--HEAD)3718
Build Errors270