macOS
brew install jemalloclocal Homebrew formula metadata
sudo port install jemallocMacPorts ports tree · devel/jemalloc/Portfile · 来源: api.github.com
安装
brew install jemalloclocal Homebrew formula metadata
sudo port install jemallocMacPorts ports tree · devel/jemalloc/Portfile · 来源: api.github.com
sudo apk add jemallocAlpine Linux edge package indexes · jemalloc · 来源: dl-cdn.alpinelinux.org
sudo dnf install jemallocFedora Rawhide package metadata · jemalloc · 来源: dl.fedoraproject.org
nix profile install nixpkgs#jemallocnixpkgs package indexes · pkgs/by-name/je/jemalloc/package.nix · 来源: api.github.com
sudo pacman -S jemallocArch Linux sync databases · jemalloc · 来源: geo.mirror.pkgbuild.com
sudo zypper install jemallocopenSUSE Tumbleweed package metadata · jemalloc · 来源: download.opensuse.org
sudo apt install libjemalloc-devDebian stable package indexes · libjemalloc-dev · 来源: deb.debian.org
概览
Implementation of malloc emphasizing fragmentation avoidance
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.conf可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
jemalloc-config | cli | 全局可执行文件 | |
jemalloc.sh | cli | 全局可执行文件 | |
jeprof | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/jemalloc/jemalloc
安装元数据
| 软件包键 | brew:jemalloc |
|---|---|
| 版本 | 5.3.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/jemalloc |
| 主页 | https://jemalloc.net/ |
| 仓库 | https://github.com/jemalloc/jemalloc |
| 上游文档 | https://github.com/jemalloc/jemalloc/wiki |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://github.com/jemalloc/jemalloc/releases/download/5.3.0/jemalloc-5.3.0.tar.bz2 |
| 最后更新 | 2026-06-22T14:03:49-07:00 |
| Pulse | updated |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 jemalloc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.