Server crashes with the 1.21.4 nightly build, unsure what's causing it
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.
1 Reply
You can regenerate the database by deleting the following files: /<serverfolder>/world/data
where you will find the DH sqlite files as well as in DIM1/data and DIM-1/data
To optimize RAM usage, you can use Aikars flags: https://docs.papermc.io/misc/tools/start-script-gen
as well as use GraalVM (which is a bit more complicated but can give good results)