Free classes after objects for memory tool am: 164f133d98
am: 061b3bcd80

Change-Id: Ifc5348db7cde43d62fbe648466871d5a4e16b1e7