Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] [Crash] Minecart creations with too much NBT data

See original GitHub issue

Type: Bug - Crash

Cause: Minecart creations in item form with too much data

Error message:

Connection Lost
Internal Exception: io.netty.handler.codecDecoderException: java.lang.RuntimeException: Tried to read NBT tag that was too big; tried to allocate: 2097156bytes where max allowed: 2097152

Description: Picking up a minecart creation which has many items in chests on it (in this case a large tunnel bore that had been running for a while) causes the player to get kicked from the server/game (this does not crash the server nor crash/exit the game), trying to rejoin results in the same error.

Potential solution: I have no where near enough expertise to comment on this and yet, for some reason, I am anyway. Perhaps if minecart creation data was stored in some other DB rather than directly on items (kinda like maps?) this would probably be solved.

Other notes: I have run into issues already with trying to grab a minecart creation out of a simple storage access point before though with a much lower tolerance. Though this is an aside and less important.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

Notenoughmailcommented, Mar 18, 2021

I have seen this mod recommended for this issue.

github-actions[bot]commented, Apr 19, 2022

This issue has been closed since it has been inactive for 3 weeks since it was marked as stale.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NBT Data too big : r/technicalminecraft - Reddit
The error message is suggesting there's a hard limit somewhere that is 2,097,152 bytes (this is 512 × 4096). It is possible that...
Read more >
NBT tag that was too big · Issue #3411 - GitHub
This isn't a bug with Create. Minecraft will kick you if you have too much data. When you play modded Minecraft, make sure...
Read more >
Copying deeply nested NBT causes StackOverflowError
Bug - A problem which impairs or prevents the functions of the product. MC-258203 /data modify thinks NBT is too large, but /data...
Read more >
Loading NBT Data Crash - Support & Bug Reports
Sorry, i got the same error. There is a backup of the world, but the world was broken after the backup was created,...
Read more >
Loading NBT Data Crash - Java Edition Support
Loading NBT Data Crash ... hope this helps. ... There is a corrupt chunk; you'll need to repair the world using a tool...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found