Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 898 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 898 Bytes

megabloat

Such bloat, very mega, wow

asciicast

Wanting to test memory limit flags?

Want a container that blows up memory?

Look no further than megabloat!

make build

Run out of 1g of memory in 10 seconds

docker run --rm -it --memory="1g" --memory-swap="1g" megabloat:latest

Run out of 500MB of memory in 5 seconds

docker run --rm -it --memory="500m" --memory-swap="500m" megabloat:latest

Not satisified?! You can run out of 100MB of memory in just 1 second!

docker run --rm -it --memory="100m" --memory-swap="100m" megabloat:latest

Dramatization. Do not attempt to run megabloat w/out a memory limit. Void where prohibited. Do not use on a production environment. Advertised timing doesn't reflect container startup and shutdown timing.