Depends on climate change, water supply - i bet 10 bln.
The real problem is not the number of ppl, but their economic aspirations - if everybody on this planet could live average American,European level of live, we need probaby 4-5x world resources we have now ..
but hey, our nuclear weapons storage can destroy this planet like 10 times. I mean to completely clean on earth surface.