Added memory usage/memory peak usage statistics to the logS