Easter Island collapsed due to a lack of environmental policy : they cut down all the trees. No trees, no timber , no fishing boats, followed by deaths until they reached a sustainable level.
Mayans were not socialists. They collapsed because they overpopulated the zone, and then a drought hit them.
A similar situation is happening in California, luckily the US is centuries more advanced than the mayans, so I am confident the outcome will be different.
You are talking about Carrying Capacity. In simplest terms take a square mile of forest, it will support a maximum number of deer, say 100. However, at the maximum they will eat all the food, cause alot of waste and destruction of the fauna, and cause a drastic die out until the level of deer that square mile can sustain has come back down to a sustainable level. The example of Easter Island is spot on. The most sustainable level for any population per its limited environment is 1/2 Carrying Capacity.
Because of our technology humans have extended the Carrying Capacity of a square mile of land for our species. But that technology only extends it, it doesn't extend it to infinity. The growing lack of fresh water and greatly reduced fishing grounds around the world is a visible indication that resources are finite regardless of technology. And most of the human population on Earth reside in areas where technology has NOT extended the Carrying Capacity of an area.
And good lord, some people here have 'socialism' on the brain. WTF is that.