···11# memtest
2233-[](https://github.com/jeduardo/memtest/actions)
44-53This is a simple utility which allocates as much megabytes of RAM as requested, pausing 0 or more seconds during allocation. It was designed to verify the progression of memory allocation on Linux environments under cgroups constraints for memory usage.
6475## Building
8697The following dependencies are required to build the software: gcc, automake, and [valgrind](http://valgrind.org/) for the small test suite.
1081111-* `make all` to build, test, and prepare the program for release.
1212-* `make test` to build and test the program.
1313-* `make memtest` to just build the program.
1414-* `make clean` to clean the entire workspace.
1515-99+- `make all` to build, test, and prepare the program for release.
1010+- `make test` to build and test the program.
1111+- `make memtest` to just build the program.
1212+- `make clean` to clean the entire workspace.
16131714## Using
18151916The program accepts two arguments:
20172121-* -m: memory size in MB, required.
2222-* -s: number of seconds to wait between allocations, optional.
1818+- -m: memory size in MB, required.
1919+- -s: number of seconds to wait between allocations, optional.
23202421### Sample run
2522