# jemalloc/jemalloc

Repository: https://github.com/jemalloc/jemalloc
Canonical: https://ross.abutalabs.com/products/jemalloc
Homepage: http://jemalloc.net/
Language: C
License: NOASSERTION
License Family: other
Last push: 2026-08-10T13:16:09+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 47, longevity 100
- inputs: {"age_days": 4717, "days_push": 23, "days_rel": 142, "gap_med": null, "n_releases_24m": 1}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 11065, forks 1638 (observed 2026-08-28T04:10:46.002202+00:00)

## What it is
jemalloc is a general-purpose malloc(3) memory allocator implementation emphasizing fragmentation avoidance and scalable concurrency support. It originated as the FreeBSD libc allocator and includes developer features such as heap profiling and extensive monitoring and tuning hooks.

## Use cases
- reduce memory fragmentation in long-running server applications
- replace the system malloc for better multi-threaded allocation performance
- profile heap usage and debug memory issues in C/C++ programs
- tune allocator behavior for demanding applications
- use as the system allocator on FreeBSD

## When to choose
- your application suffers from heap fragmentation or allocator contention under high concurrency
- you need heap profiling and introspection hooks
- you want a battle-tested allocator with predictable behavior

## When to avoid
- you need a simple allocator for a small single-threaded program where the system malloc suffices
- you want a modern allocator with a different feature set like mimalloc or snmalloc

## Facets
- artifact type: library
- maturity: stable
- function: developer-tools, monitoring
- domain: developer-tools, performance, operating-systems
- platform: bsd, cpp, c, cross-platform
- tags: memory-allocator, malloc, heap-profiling, fragmentation, concurrency, performance, linux, macos

## Member repositories
- jemalloc/jemalloc (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:46.002202+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:16:49.752868+00:00, confidence not recorded.
  - readme: https://github.com/jemalloc/jemalloc (fetched 2026-08-28T04:10:46.002202+00:00, sha a40be363759d)
  - homepage: http://jemalloc.net/ (fetched 2026-08-29T08:15:31.698807+00:00, sha ac030133e1c2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
