Add memory usage to heartbeat