Get and display memory information.