NAME
Test2::Harness::Runner::Resource::Memory - Throttle jobs when free memory is low.
SYNOPSIS
yath test -R Memory # default min_free=5%
yath test -R Memory --memory-min-free 20%
yath test -R Memory --memory-min-free 512mb -U 80
DESCRIPTION
Defers new test starts when free memory drops below a threshold. Samples /proc/meminfo per-call (no cache).
The threshold can be expressed as a percent of MemTotal (25%) or absolute byte size (512mb, 2gb). When --utilize PCT is also set, both thresholds apply and the more conservative wins.
LIMITATIONS
Linux only.
SOURCE
The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/.
MAINTAINERS
AUTHORS
COPYRIGHT
Copyright Chad Granum <exodist7@gmail.com>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://dev.perl.org/licenses/