# snazy/ohc

Java large off heap cache

Repository: https://github.com/snazy/ohc
Canonical: https://ross.abutalabs.com/products/ohc
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2024-09-12T16:42:16+00:00

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

## Adoption (not part of the score)
Stars 1093, forks 186 (observed 2026-08-28T04:03:33.699099+00:00)

## What it is
OHC is a Java library providing a large off-heap (off-heap memory) cache with linked and chunked implementations, TTL support, and LRU eviction. It is explicitly no longer maintained.

## Use cases
- cache large datasets outside the JVM heap
- reduce GC pressure from big in-memory caches
- cache many small entries with low overhead
- add TTL-based expiration to a Java cache
- benchmark off-heap cache performance

## When to choose
- you need a JVM cache that holds gigabytes without garbage collection overhead
- you want per-entry TTL and LRU eviction in an off-heap store
- you are on Java 8/11 with a 64-bit Oracle JVM

## When to avoid
- you need an actively maintained project - it is explicitly unmaintained
- you need Windows support guarantees
- you want a modern alternative like Caffeine with off-heap tiers

## Facets
- artifact type: library
- maturity: abandoned
- function: caching, serialization
- domain: databases, performance, developer-tools
- platform: jvm
- tags: off-heap-cache, lru, memory-management, linux, macos

## Member repositories
- snazy/ohc (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:33.699099+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:48:58.716569+00:00, confidence not recorded.
  - readme: https://github.com/snazy/ohc (fetched 2026-08-28T04:03:33.699099+00:00, sha 73df78f1fe50)
- Data as of 2026-08-30T08:39:29.467469+00:00.
