Fixed memory leaks when removing data
Changed memory reporting for GC