LEAK-MEMORY(1)
π LEAK-MEMORY π
okay bestie, welcome to the leak-memory page from leak-memoryβs Manual β it's chaotic, it's iconic, and it will absolutely eat your RAM for breakfast π
β¨ NAME β¨
leak-memory β eat your memory like Obelix eats cake π
πΈ SYNOPSIS πΈ
leak-memory [max_memory_size]
π¦ DESCRIPTION π¦
so like. leak-memory will eat your memory like Obelix eats cake until it eventually triggers the out of memory (OOM) killer. no cap. that's the whole personality. π
and that's literally the point, bestie β this program is useful to test configured cgroups memory limitations and the OOM killer behavior. it's giving "I'm the stress test" and it ate. π
here's the vibe: leak-memory will use malloc to allocate 1 MiB blocks of memory in a loop until the given maximum memory size (by default 42 TiB) is reached. the allocated memory blocks will be filled with data to avoid optimization preventing the leak β yes queen, we're defeating the compiler's little attempts to clean up after us π
and because it's a considerate icon, the program will report its progress to make it easy to spot when leak-memory hits the OOM killer. so you'll see the exact moment it goes down. main character energy, honestly. ππ₯
π OPTIONS π
max_memory_sizeβ maximum memory size to allocate in MiB (42 TiBby default). that's right, the default is forty-two tebibytes. she's ambitious fr fr π
π AUTHOR π
Benjamin Drung bdrung@posteo.de β the mastermind, the legend, the one who said "what if memory leak, but on purpose" π«Ά
and that's the whole page, bestie! this one shipped as part of chaos-marmosets, dated 2021-04-23, and the manpage header said LEAK-MEMORY(1). go forth and leak responsibly, iykyk πβ¨π
π¦ where this page comes from
- ubuntu resolute: chaos-marmosets 0.2.0-1build1 Β· ISC
- ubuntu stonking: chaos-marmosets 0.2.0-1build1 Β· ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms