# heiyeluren/xmm

XMM is a high performance third party memory manager for Go environments that is not affected by Gc and guarantees high performance.  XMM是一个在Go语言环境中完全自主实现的第三方内存管理库，不依赖于Go本身的任何内存管理能力，纯自主实现能够应对各种场景下大小内存的 分配/释放 工作，能自主构建高性能的 链表/树/哈希表等各类数据结构，能良好完美的逃逸掉Go内置的GC机制，是构建高性能程序基础设施。

Repository: https://github.com/heiyeluren/xmm
Canonical: https://ross.abutalabs.com/products/xmm
Language: Go
License: Apache-2.0
License Family: permissive
Last push: 2023-02-10T08:18:34+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 1710, "days_push": 1300, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1071, forks 109 (observed 2026-08-28T04:03:28.159645+00:00)

## What it is
XMM is a fully self-implemented third-party memory manager for Go, built on Linux mmap, that allocates and frees memory independently of Go's built-in GC. It supports building high-performance data structures like lists, trees, and hash tables while escaping GC pauses.

## Use cases
- avoid Go GC pauses in high-performance services
- allocate and free memory manually in Go like C/C++
- build custom high-performance data structures in Go
- reduce GC overhead with many small memory allocations
- implement GC-free maps and slices in Go

## When to choose
- your Go service suffers latency spikes from garbage collection
- you need millions of allocations per second with goroutine safety
- you want to build custom data structures outside Go's GC

## When to avoid
- your workload is fine with Go's built-in allocator and GC
- you need cross-platform support beyond Linux mmap
- you want a battle-tested allocator like tcmalloc with broad community support

## Facets
- artifact type: library
- maturity: maintenance
- function: concurrency, developer-tools
- domain: performance, developer-tools
- platform: go
- tags: memory-management, memory-allocator, gc-avoidance, mmap, high-performance, linux

## Member repositories
- heiyeluren/xmm (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:28.159645+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-30T06:53:49.484854+00:00, confidence not recorded.
  - readme: https://github.com/heiyeluren/xmm (fetched 2026-08-28T04:03:28.159645+00:00, sha 58d159077040)
- Data as of 2026-08-30T08:39:29.467469+00:00.
