(dotimes (i 100000) (compile 'f (lambda () 42)))
abcl dies with java.lang.OutOfMemoryError: PermGen space
if I use nil instead of f it doesn't die. Also with nil is noticeably faster.
Adding (when (= 999 (mod i 1000)) (room)) in the loop shows that gc is performed and memory is reclaimed, but apparently there's a leak somewhere. I'll try to find out more.
Later, Ale