Created
April 2, 2013 21:32
-
-
Save jeff-hobbs/5296407 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env tclsh | |
set chunk 64 | |
set i 0 | |
while {1} { | |
set [incr i] [string repeat a [expr {$chunk*1024}]] | |
puts "Allocated [expr {$i*$chunk}]K" ; flush stdout | |
after 50 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment