Skip to main content

Memory Utilization Benchmark

Verify system stability under increased RAM pressure by allocating a specific percentage of available memory.

1. Execute Memory Stress (30%)

Allocate and maintain 30% of the system's total RAM for 120 seconds:

sudo stress-ng --vm 1 --vm-bytes 30% --vm-hang 0 --timeout 120s

stress-ng mem

info

The --vm-bytes 30% flag ensures that the stressor only consumes the requested proportion of the total system memory, preventing OOM (Out Of Memory) kills.