Skip to content

v0.6.2 — dynamic RAM scaling

Choose a tag to compare

@mbachaud mbachaud released this 30 May 09:40
· 22 commits to master since this release
3173c47

RAM-aware SQLite budget — makes the v0.6.1 memory posture host-aware instead of unconditionally conservative.

v0.6.1 hard-coded mmap_size=0 + 2/4 MB page caches on every host (a 100-shard fan-out guard); the BGE-M3 model singleton was the actual 120 GB → 7 GB fix, so that I/O posture only over-throttled RAM-rich hosts. v0.6.2 scales per-shard mmap_size/cache_size from available RAM: budget = (available − 25% reserve) / n_shards.

  • HELIX_MEM_PROFILE: auto (default) · aggressive · conservative (byte-identical to v0.6.1 — escape hatch) · <N>gb.
  • Budget is a fraction of free RAM → can never OOM; self-throttles at high shard count / low RAM.
  • Largest win on RAM-rich hosts (128 GB unified → near-whole 46 GB corpus mmap-resident).
  • 212 unit tests green. End-to-end 100-shard RAM/latency delta validated separately on the bench fixture.

See CHANGELOG.md and docs/prds/2026-05-30-dynamic-ram-scaling.md.