remove newline from get_mem_usage return string