Fixed garbage collector slowness