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
20082026
-
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…
comment by menaerus · 2025-07-09 · in Memstop: Use LD_PRELOAD to delay process execution when low on memory