It might have something to do with running out of memory or something but I'm not really sure how to read these logs. I also get loads of warnings in the console like
IO-Worker-29/WARN]: Unable to deserialize blocks for chunk section [0, 4, -116], error: [(Unknown registry key in ResourceKey[minecraft:root / minecraft:block]: minecraft:grass -> using default)]. This can probably be ignored, although if your world looks wrong, optimizing it via the single player menu then deleting your DH database(s) should fix the problem.
I was told to optimize the world and regenerate the database, but I don't know what that means. It seems to also get caught in a "retry" loop in the console, wondering if that has anything to do with the crashes or if it would be an issue.