Server Crashing: "Tried to read NBT tag that was too big"

Discussion in 'Spigot Help' started by KawaiikamiKait, Jul 12, 2019 at 3:36 AM.

  1. Just recently my server went down and I noticed this error above it. Does anyone know if this is a direct cause? If so any way to prevent this from happening?

    Code (Text):
    > [02:05:46 ERROR]: Couldn't sign book
    java.lang.RuntimeException: Tried to read NBT tag that was too big; tried to allocate: 33311bytes where max allowed: 32768
    at net.minecraft.server.v1_8_R3.NBTReadLimiter.a(SourceFile:21) ~[PaperSpigot.jar:git-TacoSpigot-95870a93]
    at net.minecraft.server.v1_8_R3.NBTTagString.load(SourceFile:38) ~[PaperSpigot.jar:git-TacoSpigot-95870a93]
    at net.minecraft.server.v1_8_R3.NBTTagList.load(NBTTagList.java:54) ~[PaperSpigot.jar:git-TacoSpigot-95870a93]
    at net.minecraft.server.v1_8_R3.NBTTagCompound.a(SourceFile:406) ~[PaperSpigot.jar:git-TacoSpigot-95870a93]
    at net.minecraft.server.v1_8_R3.NBTTagCompound.load(SourceFile:70) ~[PaperSpigot.jar:git-TacoSpigot-95870a93]
    at net.minecraft.server.v1_8_R3.NBTCompressedStreamTools.a(NBTCompressedStreamTools.java:83) ~[PaperSpigot.jar:git-TacoSpigot-95870a93]
    at net.minecraft.server.v1_8_R3.NBTCompressedStreamTools.a(NBTCompressedStreamTools.java:53) ~[PaperSpigot.jar:git-TacoSpigot-95870a93]
    at net.minecraft.server.v1_8_R3.PacketDataSerializer.h(PacketDataSerializer.java:191) ~[PaperSpigot.jar:git-TacoSpigot-95870a93]
    at net.minecraft.server.v1_8_R3.PacketDataSerializer.i(PacketDataSerializer.java:234) ~[PaperSpigot.jar:git-TacoSpigot-95870a93]
    at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:2027) [PaperSpigot.jar:git-TacoSpigot-95870a93]
    at net.minecraft.server.v1_8_R3.PacketPlayInCustomPayload.a(SourceFile:55) [PaperSpigot.jar:git-TacoSpigot-95870a93]
    at net.minecraft.server.v1_8_R3.PacketPlayInCustomPayload.a(SourceFile:8) [PaperSpigot.jar:git-TacoSpigot-95870a93]
    at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [PaperSpigot.jar:git-TacoSpigot-95870a93]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_212]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_212]
    at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [PaperSpigot.jar:git-TacoSpigot-95870a93]
    at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:776) [PaperSpigot.jar:git-TacoSpigot-95870a93]
    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [PaperSpigot.jar:git-TacoSpigot-95870a93]
    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:715) [PaperSpigot.jar:git-TacoSpigot-95870a93]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:618) [PaperSpigot.jar:git-TacoSpigot-95870a93]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
     
  2. Code (Text):
    > [02:05:46 ERROR]: Couldn't sign book
    java.lang.RuntimeException: Tried to read NBT tag that was too big; tried to allocate: 33311bytes where max allowed: 32768
     
    My guess is someone was trying to sign a book, with too much text in it.