/oomg

allocate some memory

Primary LanguageC

oomg will allocate some memory so you can test OOM situations.

usage:

docker run -it ragge/oomg [bytes-to-allocate-in-each-iteration=65536] [iterations=INT_MAX]