Hacker GitHub

← All repos

compumike/idle-gc

View on GitHub ↗ ★ 27 Crystal

Idle-period garbage collection for Crystal. Reduce memory usage.

4 mentions on Hacker News by 1 person: 1 story, 3 comments · first 2022-08-31 · latest 2025-04-11

Mentions per year 4 mentions · busiest year 2022 (2)
20082026
  1. We wrote https://github.com/compumike/idle-gc to run GC when the long-running process is otherwise mostly idle. It’s been fine for us.
    comment by compumike · 2025-04-11 · in Crystal 1.16.0
  2. …your web server process is idle. My Crystal implementation of idle-time garbage collection is here: https://github.com/compumike/idle-gc though please note that its idle detection mechanism only works for single-threaded Crystal programs.…
    comment by compumike · 2024-09-29 · in Notes on the Crystal Language
  3. For Crystal, I wrote the IdleGC shard https://github.com/compumike/idle-gc to combat slow memory growth. Runs garbage collection when not servicing requests. Running in production on https://totalrealreturns.com/
  4. ▲ 2
    Show HN: IdleGC – Idle-time garbage collection for Crystal (Reduce memory usage)
    story by compumike · 2022-08-31 · 1 comment