Fast Async World Save[Forge/Fabric]

Fast Async World Save[Forge/Fabric]

21M Downloads

[Bug]: Server crash

kezmodius opened this issue ยท 5 comments

commented

Describe the bug you're experiencing

Server crashed and crash report mentioned this mod. (Linked below)

I cannot give you the latest log from the crash here as multiple mods were spamming the console and it is 400,000 lines long. Let me know if you want it and I'll get it to you a different way.

Reproducability

fastasyncworldsave-1.20.1-2.4.jar
I don't know, sorry.

Mod up to date

  • Before submitting this issue I updated to the newest version and reproduced it

Minecraft version

1.20.1

Modloader version

Forge

Logs

https://gist.github.com/kezmodius/11c19700588772677e89380dc1d05052

commented

ye should be fairly safe, it mostly holds some entity data like player teams e.g.
Just keep a backup of it just in case

commented

from the log it appears you have an extremely inflated ScoreboardSaveData with just too much data in it, causing it to take too long to serialize. Either that or you have memory issues and gc/ram problems are making the simple code there take too long.

Check the size of your scoreboard file in world/data/

commented

Ah, yep, it is 9-10MB zipped and about 100MB when unzipped. I could almost look at it with NBTExplorer. Biggest section was PlayerScores with 1,082,257 entries and I could not open it to view details. Do you know what we can do about that?

commented

try nbt studio, you'll need to identify which mod is adding data to it, typically the scoreboard is used for saving values by datapacks/datapacks packaged as mod.

commented

NBT Studio worked, thank you. It was Tschipcraft's Dynamic Lights, which we have already removed as it interfered with the Minecolonies gates. Is it safe to delete the scoreboard.dat file and let it regenerate?