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…