Added a total memory allocated (allmem) line to