It is hard for me to see a future where humanity lasts long enough for that to be a problem, while not possessing the technology required to address it. I would assume that at that point we would be creating universes to escape to or something else that is unimaginable today.