it allocates memory
Go to file
2024-02-12 02:14:41 +00:00
.gitignore HUGE memory optimisations with long long ints 2024-02-12 01:17:10 +00:00
main.c flush console to ensure progress output 2024-02-12 02:14:41 +00:00
README.md updated readme 2024-02-12 01:40:58 +00:00

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