Tried to read NBT tag that was too big; tried to allocate: 2097216bytes where max allowed: 2097152
glepet1962 opened this issue · 16 comments
Version: minecolonies-1.12.2-0.10.281-ALPHA-universal.jar
I have VanillaFix in modpack. It begins spamming this issue:
Included crash log:
crash-2019-05-12_06.12.39-client.txt
doing a /mc rs reset stops the issue temporarily
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Yes. After doing the rs reset, after 3-4 minutes it happened again. I was doing nothing but walking around the colony.
@OrionDevelopment there seems to be a leak somewhere?
How this can happen now, I would really like to know
https://github.com/ldtteam/minecolonies/blob/version/1.12/src/main/java/com/minecolonies/coremod/colony/ColonyView.java#L228
Because this only checks the size of the Request manager and not the size of the entire view.
but it crashes on the read nbtcompound not whole bytebuf
Caused by: java.lang.RuntimeException: Tried to read NBT tag that was too big; tried to allocate: 2097216bytes where max allowed: 2097152
at com.minecolonies.coremod.colony.ColonyView.handleColonyViewMessage(ColonyView.java:579)
The only possibility I can see is that colony.getRequestManager().reset()
didnt somehow clear the rs
@glepet1962 Can you send us the world?
update: I did another rs reset around 6:41 and have not had it happen since (now 7:40). I have been in the colony the whole time. I closed the game out during this time when I removed a couple mods, and then started up again. Not having any issues yet.
Maybe the first rs reset didn't take, but the second did?
I've never sent a world, what file(s) would I need to send?
As @Nightenom No idea how this happens since it should kill it self.
The reset can not not take, it overrides local fields directly by creating a new instance of the datastore manager, as well as new Central datastores and resolvers for retrying and Player so unless @glepet1962 can actually reproduce this again, I would put some money on: Something somewhere does something stupid
I run into the same issue with the following report:
https://paste.dimdev.org/ceyiyexovu.mccrash
but it stopped when it became night and restarted after a couple of minutes after i slept
Same problem here