Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 473 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 473 Bytes

#eatmemory

##1. Introduction Simple utility to allocate memory on a computer

##2. What can I use this for?

  • Test swap
  • Test behaviors on a machine when there is little memory available

##3. Usage

###Installation

cd /tmp
git clone https://github.com/julman99/eatmemory.git
cd eatmemory
sudo make install

###Running

eatmemory <size>

Size is in number of bytes, megabytes or gigabytes.

###Examples

eatmemory 1024
eatmemory 10M
eatmemory 4G