Add process memory stats to diagnostics printout
Add memory diagnostic analysis