MineColonies

MineColonies

57M Downloads

Tried to read NBT tag that was too big; tried to allocate: 2097216bytes where max allowed: 2097152

glepet1962 opened this issue · 16 comments

commented

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.

commented

Does this issue return after a while again? After the rs reset?

commented

Yes. After doing the rs reset, after 3-4 minutes it happened again. I was doing nothing but walking around the colony.

commented

@OrionDevelopment there seems to be a leak somewhere?

commented

Because this only checks the size of the Request manager and not the size of the entire view.

commented
commented

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)

commented

The only possibility I can see is that colony.getRequestManager().reset() didnt somehow clear the rs

commented

@glepet1962 Can you send us the world?

commented

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?

commented

If it occurs again then zip the world folder under .minecraft/saves

commented

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

commented

I run into the same issue with the following report:
https://paste.dimdev.org/ceyiyexovu.mccrash

commented

but it stopped when it became night and restarted after a couple of minutes after i slept

commented
commented

Please update to a newer Version.