Using currentTiemMillis, good instead of nanos. Also introducing rough output of memory usage state.