Hacker GitHub

← All repos

surban/memstop

View on GitHub ↗ ★ 105 C

Memstop monitors available memory and waits until a configurable percentage of memory becomes available before allowing a program to start.

3 mentions on Hacker News by 3 people: 2 stories, 1 comment · first 2025-07-04 · latest 2025-07-09

Mentions per year 3 mentions · busiest year 2025 (3)
20082026
  1. It's pretty naive, it cat's from /proc/mem and extracts MemTotal and MemAvailable: https://github.com/surban/memstop/blob/master/memstop.c#L40-... . In other words, that's not how virtual memory works. And I actually don't know how I would…
  2. ▲ 62
    Memstop: Use LD_PRELOAD to delay process execution when low on memory
    story by ingve · 2025-07-04 · 48 comments
  3. ▲ 2
    Show HN: Memstop – A tool to prevent OOM errors in parallel builds
    story by surban · 2025-07-04 · 1 comment