add formating option to memory_usage