summaryrefslogtreecommitdiff
path: root/take-mem
diff options
context:
space:
mode:
Diffstat (limited to 'take-mem')
-rwxr-xr-xtake-mem18
1 files changed, 0 insertions, 18 deletions
diff --git a/take-mem b/take-mem
deleted file mode 100755
index 57289a5..0000000
--- a/take-mem
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env python
-
-import sys
-import time
-
-if len(sys.argv) != 2:
- print "usage: fillmem <number-of-megabytes>"
- sys.exit()
-
-count = int(sys.argv[1])
-
-megabyte = (0,) * (1024 * 1024 / 8)
-
-data = megabyte * count
-
-while True:
- time.sleep(1)
-