Much of the world is empty, undeveloped land right now, and cities take up a very small percentage of land.
Double the amount of cities in the world, from 1% to 2% of land usage, and that's 5 billion more people that the world can support.
For food well, we currently only use a very small percentage of the sunlight that hits the earth, and energy = food. Especially if lab technology for growing food gets much better.
Yeah, it is unsubstantiated sci-fi predictions but taking about these Sci-fi scenarios in detail is kinda missing the point.
The point I was trying to make, is that the whole "resources are finite" is a dumb argument because it doesn't say at all how close we are to that limit.
Someone's 1 billion people carrying capacity prediction is just as valid as my unsubstantiated 1 trillion people prediction.
And if you are predicting that doomsday overpopulation scenario is right around the corner, you better provide some damn good evidence, because all the current evidence shows that humans are doing better than they ever have been in the history of the world.
Evidence for us hitting the carrying capacity of the planet would be things like "hunger is increasing and quality of life is going down in these overpopulated places". But so far this is not happening.