When using the attack to meet a specific memory usage, it may allocate or free memory to reach the desired memory usage.
If you specify a usage that exceeds the total memory (e.g. > 100%) it fills up the memory as much as possible, as it's impossible to reach usages higher than 100%.
Use Cases
Test the system's ability to handle memory spikes.
Observe the system's behavior when it runs out of memory.
Observe the system's behavior when it runs low on memory for file buffers.
Parameters
Parameter
Description
Default
Duration
How long should memory be wasted?
30s
Mode
Fill and meet specified usage: Fill up the memory until the desired usage is met. Memory allocation will be adjusted constantly to meet the target. Fill the specified amount: Allocate and hold the specified amount of Memory.