25#define RAMLIMIT_HARD (7*1024*1024)
28#define RAMLIMIT_SOFT (5*1024*1024)
176extern size_t (*
oomtest_fill)(
const size_t minHeap,
const size_t minStack);
void(* oomtest_free)()
Ends a single simple OOM test.
size_t(* oomtest_disable)()
Stops the current oomtest.
size_t(* oomtest_fill)(const size_t minHeap, const size_t minStack)
Starts an almost OOM single and simple test.
size_t(* oomtest_enable)(const size_t softlimit)
Starts a new oomtest environment or reconfigure the soft limit.
unsigned char oomtest_enabled()
size_t oomtest_config(const size_t hardlimit)
Sets the oomtest helpers hard rlimit and enables the oomtest helper features.