Added memory statistics.