use gcinfo(TRUE) instead of calling gc!