Steadybit logoResilience Hub
Try SteadybitGitHub icon
Steadybit logoResilience Hub

Stress Memory

Attack

Attack

Stresses memory by ongoing reallocation, read and write operations.
Install now

Stress Memory

Stresses memory by ongoing reallocation, read and write operations.
Attack

Attack

Targets:

Containers

Install now

Stress Memory

Attack

Attack

Stresses memory by ongoing reallocation, read and write operations.
Install now

Stress Memory

Stresses memory by ongoing reallocation, read and write operations.
Attack

Attack

Targets:

Containers

Install now
Go back to list

Introduction

Stresses a specific amount of memory using ongoing memory allocations, reads and writes.

Usage

Note that this can cause systems to trip the Linux Kernel OOM killer without enough physical or swap Memory.

This action uses stress-ng to stress the Memory. In addition to memory consumption, due to the ongoing memory allocations, reads, and writes, CPU usage will also increase. If not enough CPU is available, then this attack might fail to allocate all specified Memory.

If you want to fill up the Memory without stressing the CPU, use the Fill Memory action.

Use Cases

  • Test the system's ability to handle memory spikes.
  • Observe the system's behavior when it runs out of memory or the memory bandwidth is exhausted.

Parameters

ParameterDescriptionDefault
DurationHow long should memory be wasted?30s
Load on Host MemoryHow much of the total memory should be used to stress the memory?80%
Fail on OOM KillShould it be treated as a failure when the attacked container was oomkilled?False
Statistics
-Stars
Tags
Container
Kubernetes
Memory
Homepage
hub.steadybit.com/extension/com.steadybit.extension_container
License
MIT
MaintainerSteadybit
Install now

Useful Templates

See all
Stress Memory of Kubernetes DaemonSet

Learn how easy you can stress memory of an entire Kubernetes DaemonSet.

Memory
DaemonSet
Snippet
Starter
Kubernetes

Containers

More Container Actions

See all
Start Using Steadybit Today

Get started with Steadybit, and you’ll get access to all of our features to discover the full power of Steadybit. Available for SaaS and on-prem!

Are you unsure where to begin?

No worries, our reliability experts are here to help: book a demo with them!

Steadybit logoResilience Hub
Try Steadybit
© 2024 Steadybit GmbH. All rights reserved.
Twitter iconLinkedIn iconGitHub icon