rambrain
memeater.cpp File Reference

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 Provides a binary for a program which eats memory in order to decrease the system memory manually. More...
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Provides a binary for a program which eats memory in order to decrease the system memory manually.

Parameters
argcExpects one argument
argvFirst argument: MB to leave free in memory
Note
Can only eat down to a certain boundary where the system desperately tries to free memory again

Definition at line 35 of file memeater.cpp.