aboutsummaryrefslogtreecommitdiff
path: root/aosp-24h-stress-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'aosp-24h-stress-test.sh')
-rwxr-xr-xaosp-24h-stress-test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/aosp-24h-stress-test.sh b/aosp-24h-stress-test.sh
index 2668b79..01e3233 100755
--- a/aosp-24h-stress-test.sh
+++ b/aosp-24h-stress-test.sh
@@ -136,6 +136,7 @@ stress_oom()
cat /proc/$kernel_log/oom_adj
# Run stress-ng-vm test to trigger oom-killer.
+ # In stress-vm.c file, NO_MEM_RETRIES_MAX has been increased to 1000000000 for OOM stress test.
echo "mmap ${vm_bytes}KB per vm process to occupy all memory to trigger oom-killer."
stress-ng --vm $processor_number --vm-bytes ${vm_bytes}k --timeout $duration --metrics-brief --verbose
print_test_result stress-ng-oom $?