macOS
brew install jemalloclocal Homebrew formula metadata
sudo port install jemallocMacPorts ports tree · devel/jemalloc/Portfile · source: api.github.com
brew
Implementation of malloc emphasizing fragmentation avoidance. Version 5.3.0 via Homebrew; verified 2026-06-22.
install
brew install jemalloclocal Homebrew formula metadata
sudo port install jemallocMacPorts ports tree · devel/jemalloc/Portfile · source: api.github.com
sudo apk add jemallocAlpine Linux edge package indexes · jemalloc · source: dl-cdn.alpinelinux.org
sudo apt install libjemalloc-devDebian stable package indexes · libjemalloc-dev · source: deb.debian.org
sudo dnf install jemallocFedora Rawhide package metadata · jemalloc · source: dl.fedoraproject.org
nix profile install nixpkgs#jemallocnixpkgs package indexes · pkgs/by-name/je/jemalloc/package.nix · source: api.github.com
sudo pacman -S jemallocArch Linux sync databases · jemalloc · source: geo.mirror.pkgbuild.com
sudo zypper install jemallocopenSUSE Tumbleweed package metadata · jemalloc · source: download.opensuse.org
overview
Implementation of malloc emphasizing fragmentation avoidance
history
jemalloc is a general-purpose malloc implementation known in package-manager catalogs because it can be installed as a system allocator, linked into performance-sensitive programs, or preloaded for applications that benefit from predictable allocation behavior.
The project describes itself as emphasizing fragmentation avoidance and scalable concurrency. Its public history begins with use as the FreeBSD libc allocator in 2005, then broadens in 2010 with developer-facing facilities such as heap profiling and monitoring or tuning hooks.
The project site points to GitHub as the primary repository and treats the manual page and wiki as the two main documentation surfaces. Its branch layout has kept stable release tracking and older stable lines visible, which matters for downstream packaging because allocators are low-level dependencies with conservative upgrade habits.
jemalloc moved from a FreeBSD allocator into a portable package used by applications that care about allocator behavior under concurrency and fragmentation pressure. Its adoption pattern is therefore less like a user-facing CLI and more like a selectable runtime component for databases, language runtimes, services, and performance investigations.
Package users commonly install the library and development files, link programs against it, or use loader mechanisms to substitute it for the platform allocator. The bundled tools and scripts such as jemalloc-config, jemalloc.sh, and jeprof make the Homebrew formula useful both for building software and for profiling heap behavior.
jemalloc is package-nerd material because it sits below ordinary application code: swapping an allocator can change memory fragmentation, latency, profiling visibility, and production stability without changing the application source. Its presence across many package managers makes allocator choice a reproducible dependency rather than a local build trick.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/malloc.confexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
jemalloc-config | cli | global executable | |
jemalloc.sh | cli | global executable | |
jeprof | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/jemalloc/jemalloc
install metadata
| Package key | brew:jemalloc |
|---|---|
| Version | 5.3.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/jemalloc |
| Homepage | https://jemalloc.net/ |
| Repository | https://github.com/jemalloc/jemalloc |
| Upstream docs | https://github.com/jemalloc/jemalloc/wiki |
| License | BSD-2-Clause |
| Source archive | https://github.com/jemalloc/jemalloc/releases/download/5.3.0/jemalloc-5.3.0.tar.bz2 |
| Last updated | 2026-06-22T14:03:49-07:00 |
| Pulse | updated |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | jemalloc |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libjemalloc-dev 5.3.0-3
development files and documentation for jemalloc
sudo apt install libjemalloc-devlibjemalloc2 5.3.0-3
general-purpose scalable concurrent malloc(3) implementation
sudo apt install libjemalloc2jemalloc
nix profile install nixpkgs#jemalloclibjemalloc-dev 5.3.0-2build1
development files and documentation for jemalloc
sudo apt install libjemalloc-devlibjemalloc2 5.3.0-2build1
general-purpose scalable concurrent malloc(3) implementation
sudo apt install libjemalloc2jemalloc 5.3.0-r6
general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support
sudo apk add jemallocjemalloc-dev 5.3.0-r6
general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support (development files)
sudo apk add jemalloc-devjemalloc-doc 5.3.0-r6
general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support (documentation)
sudo apk add jemalloc-docjemalloc-static 5.3.0-r6
general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support (static library)
sudo apk add jemalloc-staticjemalloc 5.3.0-14.fc44
General-purpose scalable concurrent malloc implementation
sudo dnf install jemallocjemalloc-devel 5.3.0-14.fc44
Development files for jemalloc
sudo dnf install jemalloc-develjemalloc 1:5.3.1-2
General-purpose scalable concurrent malloc implementation
sudo pacman -S jemallocjemalloc 5.3.1-1.2
General-purpose scalable concurrent malloc implementation
sudo zypper install jemallocjemalloc-devel 5.3.1-1.2
Development files for jemalloc
sudo zypper install jemalloc-devellibjemalloc2 5.3.1-1.2
General-purpose scalable concurrent malloc implementation
sudo zypper install libjemalloc2jemalloc
sudo port install jemallocsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.