memory leaks in groovy