Softly kills your process with SIGTERM before it runs out of memory.

Written in Rust to consume minimal resources.

Version: 0.0.1

Usage

Download the binary you need from target/your-arch or cargo install preoomkiller.

``` Usage: target/debug/preoomkiller [options] args

Options: -m, --max-memory-file PATH set file to read maximum memory from -u, --used-memory-file PATH set file to read used memory from -i, --interval SECONDS how often to check memory usage -p, --percent PERCENT maximum memory usage percent -h, --help print this help menu -v, --version show version ```

Build

Test

Tested with Ruby to have readable / expressive tests.

Release

TODO