added memory use stats