Skip to content

Try to avoid OOM killer on low-memory systems without swap.

Milan Broz requested to merge oom-workaround into main

Benchmark for memory-hard KDF is tricky, seems that relying on maximum half of physical memory is not enough.

Let's allow only free physical available space if there is no swap. This should not cause changes on normal systems, at least.

Merge request reports