rust-memory-filler-killer/README.md

16 lines
743 B
Markdown
Raw Permalink Normal View History

[![Rust](https://github.com/Tahinli/rust-memory-filler-killer/actions/workflows/rust.yml/badge.svg?branch=main)](https://github.com/Tahinli/rust-memory-filler-killer/actions/workflows/rust.yml)
2024-09-20 04:54:23 +03:00
# rust-memory-filler-killer
Finds and Kills Memory Filler
2024-09-22 04:20:52 +03:00
## Why I did this
Sometimes Linux kernel is not able to kill memory consumers when memory reaches the critical level. I don't know why but I personally lived this situations couple of times and my computer couldn't stay stable so I had to restart it. That's why I implemented this.
> ./rust-memory-filler-killer -h
<img src=assets/help.png>
> ./rust-memory-filler-killer --control_delay 1000 --dealloc_delay 1000 --kill_threshold 0.95 --include_swap false
<img src=assets/example.png>