# facebookarchive/FBAllocationTracker

iOS library that helps tracking all allocated Objective-C objects

Repository: https://github.com/facebookarchive/FBAllocationTracker
Canonical: https://ross.abutalabs.com/products/fballocationtracker
Language: Objective-C++
License: NOASSERTION
License Family: other
Archived: true
Last push: 2021-12-13T17:38:54+00:00

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

## Adoption (not part of the score)
Stars 1089, forks 136 (observed 2026-08-28T04:03:32.613622+00:00)

## What it is
An iOS library for introspecting live Objective-C objects by swizzling alloc/dealloc, allowing queries of all instances of a class and generation-based allocation tracking. It is archived by Facebook and only fully functional in Debug builds.

## Use cases
- track all live Objective-C object allocations in an iOS app
- find memory leaks by querying instances of a class
- mark generations and inspect objects created within a scope
- count allocs/deallocs with low performance overhead
- debug retain cycles and unexpected object growth

## When to choose
- you need programmatic introspection of live Objective-C instances in a legacy iOS codebase
- you want Instruments-like generation tracking embedded in your app's debug builds

## When to avoid
- you need Swift object tracking or modern tooling
- you require an actively maintained library with recent support
- you need production-build allocation tracking without custom compilation flags

## Facets
- artifact type: library
- maturity: abandoned
- function: monitoring, developer-tools, testing
- domain: developer-tools, mobile-development, performance
- platform: -
- tags: objective-c, memory-profiling, allocations, debugging, ios, facebook-archive, mobile

## Member repositories
- facebookarchive/FBAllocationTracker (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:32.613622+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:49:17.470759+00:00, confidence not recorded.
  - readme: https://github.com/facebookarchive/FBAllocationTracker (fetched 2026-08-28T04:03:32.613622+00:00, sha 3fe89c5e872c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
