Simple-Stupid user-space program doing "kill -STOP" and "kill -CONT" to protect from thrashing
tobixen/thrash-protect has 166 GitHub stars.
It currently ranks #8885 daily, #10052 weekly, #13850 monthly by momentum on Trending Repos; its best-ever rank is #2557.