Adding more memory usage logging.