my world had 7.5k armor stands at world spawn for some reason so then the world would crash before opening. probably affects lower spec pcs more
also crashes in 1.17.1, actually works better in 1.18
My specs:
Gtx 1650
Ryzen 3 3100
16 GB Ram 3600 mhz
ssd
Able to load a word with 9,000 plus entities. Unable to produce a crash at these levels.
(You will reach a crash eventually but this is expected behavior, a possible solution is to put a cap on entities)