Since add-tap puts f into a set, why would this repeated call go out of memory?
add-tap
f
user=> (doall (iterate add-tap println)) Execution error (OutOfMemoryError) at user/eval138 (REPL:1). Java heap space