Sign inSign up

gisleburt/my-memory-hog

By gisleburt

•Updated almost 10 years ago

Use Alpine + PHP to soak up memory. Used for testing --memory --memory-swap and --memory-reservation

Image
0

10K+

gisleburt/my-memory-hog repository overview

⁠My Memory Hog - Docker Image

This container is designed to exhaust the memory constraints of the running container.

⁠Usage

$ docker run -it --memory=128m --memory-swap=0 gisleburt/my-memory-hog

Note: If you don't restrict memory on the container, it will run to 1GB usage before PHP kills the script itself.

Tag summary

Content type

Image

Digest

Size

6.6 MB

Last updated

almost 10 years ago

docker pull gisleburt/my-memory-hog