Releases: rmk40/memlimit
Releases · rmk40/memlimit
v1.1.1
Full Changelog: v1.1.0...v1.1.1
v1.0.0
Initial release of memlimit -- a zero-dependency, single-binary memory limiter for macOS and Linux.
Features
- Platform-correct memory metrics:
phys_footprinton macOS (the Activity Monitor metric), PSS on Linux (proportional shared page accounting) - Process group tracking: monitors the entire process tree spawned by the command, not just the top-level process
- Graceful kill: SIGTERM first, configurable grace period, then SIGKILL
- Verbose monitoring: optional periodic memory and process count reporting
- TUI support: hands terminal foreground to the child process group
- Unprivileged: no root, no cgroups, no kernel modules
Install
brew install rmk40/tap/memlimit
Or build from source:
make
sudo make install
Platforms
- macOS (Apple Silicon and Intel)
- Linux (kernel 4.14+)
- WSL2