HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
surban
memstop
C2025–2025
surban / memstop

memstop

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

3Distinct people
3Mentions
0Explicit recommenders
105GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

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

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by 6-hour interval3 dated mentions

Observed mentions: 2025-07-04 10:09:01 UTC to 2025-07-09 15:20:31 UTC.

012025-07-04 06:00:00 UTC to 2025-07-04 12:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsJul 4, 06:002025-07-04 12:00:00 UTC to 2025-07-04 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-04 18:00:00 UTC to 2025-07-05 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2025-07-05 00:00:00 UTC to 2025-07-05 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-05 06:00:00 UTC to 2025-07-05 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-05 12:00:00 UTC to 2025-07-05 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-05 18:00:00 UTC to 2025-07-06 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-06 00:00:00 UTC to 2025-07-06 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-06 06:00:00 UTC to 2025-07-06 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-06 12:00:00 UTC to 2025-07-06 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-06 18:00:00 UTC to 2025-07-07 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJul 6, 18:002025-07-07 00:00:00 UTC to 2025-07-07 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-07 06:00:00 UTC to 2025-07-07 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-07 12:00:00 UTC to 2025-07-07 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-07 18:00:00 UTC to 2025-07-08 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-08 00:00:00 UTC to 2025-07-08 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-08 06:00:00 UTC to 2025-07-08 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-08 12:00:00 UTC to 2025-07-08 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-08 18:00:00 UTC to 2025-07-09 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-09 00:00:00 UTC to 2025-07-09 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-09 06:00:00 UTC to 2025-07-09 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-09 12:00:00 UTC to 2025-07-09 18:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJul 9, 12:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jul 4, 06:002025-07-04 06:00:00 UTC2025-07-04 12:00:00 UTC110
Jul 4, 12:002025-07-04 12:00:00 UTC2025-07-04 18:00:00 UTC000
Jul 4, 18:002025-07-04 18:00:00 UTC2025-07-05 00:00:00 UTC110
Jul 5, 00:002025-07-05 00:00:00 UTC2025-07-05 06:00:00 UTC000
Jul 5, 06:002025-07-05 06:00:00 UTC2025-07-05 12:00:00 UTC000
Jul 5, 12:002025-07-05 12:00:00 UTC2025-07-05 18:00:00 UTC000
Jul 5, 18:002025-07-05 18:00:00 UTC2025-07-06 00:00:00 UTC000
Jul 6, 00:002025-07-06 00:00:00 UTC2025-07-06 06:00:00 UTC000
Jul 6, 06:002025-07-06 06:00:00 UTC2025-07-06 12:00:00 UTC000
Jul 6, 12:002025-07-06 12:00:00 UTC2025-07-06 18:00:00 UTC000
Jul 6, 18:002025-07-06 18:00:00 UTC2025-07-07 00:00:00 UTC000
Jul 7, 00:002025-07-07 00:00:00 UTC2025-07-07 06:00:00 UTC000
Jul 7, 06:002025-07-07 06:00:00 UTC2025-07-07 12:00:00 UTC000
Jul 7, 12:002025-07-07 12:00:00 UTC2025-07-07 18:00:00 UTC000
Jul 7, 18:002025-07-07 18:00:00 UTC2025-07-08 00:00:00 UTC000
Jul 8, 00:002025-07-08 00:00:00 UTC2025-07-08 06:00:00 UTC000
Jul 8, 06:002025-07-08 06:00:00 UTC2025-07-08 12:00:00 UTC000
Jul 8, 12:002025-07-08 12:00:00 UTC2025-07-08 18:00:00 UTC000
Jul 8, 18:002025-07-08 18:00:00 UTC2025-07-09 00:00:00 UTC000
Jul 9, 00:002025-07-09 00:00:00 UTC2025-07-09 06:00:00 UTC000
Jul 9, 06:002025-07-09 06:00:00 UTC2025-07-09 12:00:00 UTC000
Jul 9, 12:002025-07-09 12:00:00 UTC2025-07-09 18:00:00 UTC101

What Hacker News says

3 sources
surban·Jul 4, 2025Submission

Show HN: Memstop – A tool to prevent OOM errors in parallel builds

Hey HN, I built a small tool to solve a problem on my build VM, which has 32 CPU cores but only 16GB of RAM. Running make -j32 would frequently fail when the OOM killer terminated a compiler process. Throttling with a lower -j count felt inefficient, and make's load-average flag (-l) tracks CPU, not memory pressure. So, I created Memstop. It's a simple LD_PRELOAD library that acts as a gatekeeper. Before each new process starts, it checks the available memory in /proc/meminfo. If memory is below a configurable percentage (default 10%), it simply pauses and waits for other processes to finish. This allows my builds to use full parallelism, self-regulating by pausing when memory gets tight instead of crashing. Usage is simple: LD_PRELOAD=/path/to/memstop.so make -j32 You can control the threshold with the MEMSTOP_PERCENT environment variabl
Read the rest
e. The project is on GitHub (GPLv3), and I'm sharing it in case it's useful to others. I'd love to hear your thoughts! Link: https://github.com/surban/memstop
2 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.