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
20082026
-
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 -
…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 -
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/
comment by compumike · 2022-10-04 · in Ask HN: So you moved off Heroku, where did you go? -
▲ 2
Show HN: IdleGC – Idle-time garbage collection for Crystal (Reduce memory usage)story by compumike · 2022-08-31 · 1 comment