Skip to content

Occupy some memory to see how your program acts with low memory!

License

Notifications You must be signed in to change notification settings

Abrifq/c-memOccupier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Memory Occupier

Occupies memory! Really, that's the only use.

Compiling

I use gcc, I don't know how you compile in clang or another C compiler, you might want to read their guides.

gcc -o main main.c -lm

Usage

Just start without arguments. Occupies as many times as you want.

./main

or start with an argument for size to occupy –like 512M– in bytes. Occupies one time and then exits.

./main $(( 512 * (1024 ** 2) ))

About

Occupy some memory to see how your program acts with low memory!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages