Add logging of heap/non heap memory usage to .geogit/log/memory.csv when metrics is enabled