1 2 3 4 5 6 7 8
var head for (i in 1..400000) { head = { "next" : head } } System.gc() System.print("done") // expect: done