.gitignore | ||
main.c | ||
README.md |
memory allocator
it allocates memory (in gibibytes (GiB))
how to use
- run the executable
- enter how many gibibytes you want (max is how many gibibytes of memory you have...or more!)
- confirm (y)
- wait for the program to allocate the memory
- your memory is allocated
- press ENTER or CTRL+C to free the memory and exit the program
- ???
- profit
how to compile
- get a c compiler (i use gcc)
gcc -o ./allocatememory ./main.c
- ???
- profit
why
i was bored