Skip to content

Instantly share code, notes, and snippets.

View jeff-hobbs's full-sized avatar

Jeff Hobbs jeff-hobbs

View GitHub Profile
#!/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
}