astei / krypton

A Fabric mod that optimizes the Minecraft networking stack and entity tracker.
GNU Lesser General Public License v3.0
369 stars 34 forks source link

1.19.2 Player Crash Issue...? #109

Open KaapaTeelb opened 11 months ago

KaapaTeelb commented 11 months ago

Hi I hosted a fabric 1.19.2 server and got this thing a lot while Krypton 0.2.1 was installed, had to remove it eventually (Wasnt giving that error anymore)

I am not sure if thats this mod problem or others but I went through a bunch of mods we had installed and this one the first (And I guess the main one) using netty handlers(??)

If you need more information I can provide, but hope log going to be enough👍

[13:54:32] [Server thread/INFO]: KaapalTech[/ip-removed] logged in with entity id 33956 at (1.078632976471522, 101.0, -0.39422386293840384)

[13:54:32] [Server thread/INFO]: KaapalTech joined the game [13:54:33] [Server thread/INFO]: Received secret request of KaapalTech (17) [13:54:33] [Server thread/INFO]: Sent secret to KaapalTech [13:54:34] [Netty Epoll Server IO #4/ERROR]: Exception occurred in netty pipeline io.netty.handler.codec.EncoderException: java.lang.OutOfMemoryError: Cannot reserve 4194304 bytes of direct buffer memory (allocated: 267032807, limit: 268435456) at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:125) ~[netty-codec-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) ~[netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:709) ~[netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:792) ~[netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:702) ~[netty-transport-4.1.77.Final.jar:?] at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:113) ~[netty-codec-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) ~[netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:709) ~[netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:792) ~[netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:702) ~[netty-transport-4.1.77.Final.jar:?] at io.netty.channel.DefaultChannelPipeline.write(DefaultChannelPipeline.java:1015) ~[netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannel.write(AbstractChannel.java:301) ~[netty-transport-4.1.77.Final.jar:?] at net.minecraft.class_2535.doSendPacket(class_2535.java:2093) ~[server-intermediary.jar:?] at net.minecraft.class_2535.handler$dpf000$krypton$sendImmediately$rewrite(class_2535.java:2054) ~[server-intermediary.jar:?] at net.minecraft.class_2535.method_10764(class_2535.java:191) ~[server-intermediary.jar:?] at net.minecraft.class_2535.method_10752(class_2535.java:182) ~[server-intermediary.jar:?] at net.minecraft.class_3244.method_14369(class_3244.java:1256) ~[server-intermediary.jar:?] at net.minecraft.class_3244.method_14364(class_3244.java:1251) ~[server-intermediary.jar:?] at net.minecraft.class_3244.sendMessage(class_3244.java:11059) ~[server-intermediary.jar:?] at net.minecraft.class_3244.sendMessage(class_3244.java:11055) ~[server-intermediary.jar:?] at io.github.kosmx.emotes.server.network.IServerNetworkInstance.presenceResponse(IServerNetworkInstance.java:30) ~[emotecraft-for-MC1.19.2-2.2.7-b.build.47-fabric.jar:?] at net.minecraft.class_3244.presenceResponse(class_3244.java:11075) ~[server-intermediary.jar:?] at io.github.kosmx.emotes.server.network.AbstractServerEmotePlay.receiveMessage(AbstractServerEmotePlay.java:103) ~[emotecraft-for-MC1.19.2-2.2.7-b.build.47-fabric.jar:?] at io.github.kosmx.emotes.server.network.AbstractServerEmotePlay.receiveMessage(AbstractServerEmotePlay.java:92) ~[emotecraft-for-MC1.19.2-2.2.7-b.build.47-fabric.jar:?] at io.github.kosmx.emotes.fabric.network.ServerNetwork.receiveMessage(ServerNetwork.java:47) ~[emotecraft-for-MC1.19.2-2.2.7-b.build.47-fabric.jar:?] at net.fabricmc.fabric.impl.networking.server.ServerPlayNetworkAddon.receive(ServerPlayNetworkAddon.java:89) [fabric-networking-api-v1-1.2.12+def3f86d90-40dbcfca42bb4b90.jar:?] at net.fabricmc.fabric.impl.networking.server.ServerPlayNetworkAddon.receive(ServerPlayNetworkAddon.java:38) [fabric-networking-api-v1-1.2.12+def3f86d90-40dbcfca42bb4b90.jar:?] at net.fabricmc.fabric.impl.networking.AbstractChanneledNetworkAddon.handle(AbstractChanneledNetworkAddon.java:101) [fabric-networking-api-v1-1.2.12+def3f86d90-40dbcfca42bb4b90.jar:?] at net.fabricmc.fabric.impl.networking.server.ServerPlayNetworkAddon.handle(ServerPlayNetworkAddon.java:84) [fabric-networking-api-v1-1.2.12+def3f86d90-40dbcfca42bb4b90.jar:?] at net.minecraft.class_3244.handler$dje000$fabric-networking-api-v1$handleCustomPayloadReceivedAsync(class_3244.java:2061) [server-intermediary.jar:?] at net.minecraft.class_3244.method_12075(class_3244.java) [server-intermediary.jar:?] at net.minecraft.class_2817.method_12199(class_2817.java:38) [server-intermediary.jar:?] at net.minecraft.class_2817.method_11054(class_2817.java:7) [server-intermediary.jar:?] at net.minecraft.class_2535.method_10759(class_2535.java:167) [server-intermediary.jar:?] at net.minecraft.class_2535.method_10770(class_2535.java:152) [server-intermediary.jar:?] at net.minecraft.class_2535.channelRead0(class_2535.java:50) [server-intermediary.jar:?] at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327) [netty-codec-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299) [netty-codec-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327) [netty-codec-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299) [netty-codec-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327) [netty-codec-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:314) [netty-codec-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:435) [netty-codec-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279) [netty-codec-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar:?] at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) [netty-handler-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800) [netty-transport-classes-epoll-4.1.77.Final.jar:?] at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:487) [netty-transport-classes-epoll-4.1.77.Final.jar:?] at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:385) [netty-transport-classes-epoll-4.1.77.Final.jar:?] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995) [netty-common-4.1.77.Final.jar:?] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.77.Final.jar:?] at java.lang.Thread.run(Thread.java:833) [?:?] Caused by: java.lang.OutOfMemoryError: Cannot reserve 4194304 bytes of direct buffer memory (allocated: 267032807, limit: 268435456) at java.nio.Bits.reserveMemory(Bits.java:178) ~[?:?] at java.nio.DirectByteBuffer.(DirectByteBuffer.java:121) ~[?:?] at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:332) ~[?:?] at io.netty.buffer.PoolArena$DirectArena.allocateDirect(PoolArena.java:649) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.PoolArena$DirectArena.newChunk(PoolArena.java:624) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.PoolArena.allocateNormal(PoolArena.java:203) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.PoolArena.tcacheAllocateNormal(PoolArena.java:187) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.PoolArena.allocate(PoolArena.java:136) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.PoolArena.allocate(PoolArena.java:126) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:396) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:188) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:179) ~[netty-buffer-4.1.77.Final.jar:?] at com.velocitypowered.natives.util.MoreByteBufUtils.preferredBuffer(MoreByteBufUtils.java:83) ~[com_velocitypowered_velocity-nat.2-SNAPSHOT-a64de822abbc0fd4.jar:?] at me.steinborn.krypton.mod.shared.network.compression.MinecraftCompressEncoder.allocateBuffer(MinecraftCompressEncoder.java:51) ~[krypton-0.2.1.jar:?] at me.steinborn.krypton.mod.shared.network.compression.MinecraftCompressEncoder.allocateBuffer(MinecraftCompressEncoder.java:10) ~[krypton-0.2.1.jar:?] at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:105) ~[netty-codec-4.1.77.Final.jar:?] ... 70 more [13:54:35] [Netty Epoll Server IO #4/ERROR]: Error receiving packet 22 java.lang.OutOfMemoryError: Cannot reserve 4194304 bytes of direct buffer memory (allocated: 267032807, limit: 268435456) at java.nio.Bits.reserveMemory(Bits.java:178) ~[?:?] at java.nio.DirectByteBuffer.(DirectByteBuffer.java:121) ~[?:?] at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:332) ~[?:?] at io.netty.buffer.PoolArena$DirectArena.allocateDirect(PoolArena.java:649) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.PoolArena$DirectArena.newChunk(PoolArena.java:624) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.PoolArena.allocateNormal(PoolArena.java:203) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.PoolArena.tcacheAllocateNormal(PoolArena.java:187) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.PoolArena.allocate(PoolArena.java:136) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.PoolArena.reallocate(PoolArena.java:287) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.PooledByteBuf.capacity(PooledByteBuf.java:122) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.AbstractByteBuf.ensureWritable0(AbstractByteBuf.java:305) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.AbstractByteBuf.ensureWritable(AbstractByteBuf.java:280) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1103) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1096) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1087) ~[netty-buffer-4.1.77.Final.jar:?] at net.minecraft.class_2540.writeBytes(class_2540.java:1422) ~[server-intermediary.jar:?] at net.minecraft.class_2658.method_11052(class_2658.java:55) ~[server-intermediary.jar:?] at net.minecraft.class_2545.method_10838(class_2545.java:45) ~[server-intermediary.jar:?] at net.minecraft.class_2545.encode(class_2545.java:14) ~[server-intermediary.jar:?] at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107) ~[netty-codec-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) ~[netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:709) ~[netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:792) ~[netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:702) ~[netty-transport-4.1.77.Final.jar:?] at io.netty.channel.DefaultChannelPipeline.write(DefaultChannelPipeline.java:1015) ~[netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannel.write(AbstractChannel.java:301) ~[netty-transport-4.1.77.Final.jar:?] at net.minecraft.class_2535.doSendPacket(class_2535.java:2093) ~[server-intermediary.jar:?] at net.minecraft.class_2535.handler$dpf000$krypton$sendImmediately$rewrite(class_2535.java:2054) ~[server-intermediary.jar:?] at net.minecraft.class_2535.method_10764(class_2535.java:191) ~[server-intermediary.jar:?] at net.minecraft.class_2535.method_10752(class_2535.java:182) ~[server-intermediary.jar:?] at net.minecraft.class_3244.method_14369(class_3244.java:1256) ~[server-intermediary.jar:?] at net.minecraft.class_3244.method_14364(class_3244.java:1251) ~[server-intermediary.jar:?] at net.minecraft.class_3244.sendMessage(class_3244.java:11059) ~[server-intermediary.jar:?] at net.minecraft.class_3244.sendMessage(class_3244.java:11055) ~[server-intermediary.jar:?] at io.github.kosmx.emotes.server.network.IServerNetworkInstance.presenceResponse(IServerNetworkInstance.java:30) ~[emotecraft-for-MC1.19.2-2.2.7-b.build.47-fabric.jar:?] at net.minecraft.class_3244.presenceResponse(class_3244.java:11075) ~[server-intermediary.jar:?] at io.github.kosmx.emotes.server.network.AbstractServerEmotePlay.receiveMessage(AbstractServerEmotePlay.java:103) ~[emotecraft-for-MC1.19.2-2.2.7-b.build.47-fabric.jar:?] at io.github.kosmx.emotes.server.network.AbstractServerEmotePlay.receiveMessage(AbstractServerEmotePlay.java:92) ~[emotecraft-for-MC1.19.2-2.2.7-b.build.47-fabric.jar:?] at io.github.kosmx.emotes.fabric.network.ServerNetwork.receiveMessage(ServerNetwork.java:47) ~[emotecraft-for-MC1.19.2-2.2.7-b.build.47-fabric.jar:?] at net.fabricmc.fabric.impl.networking.server.ServerPlayNetworkAddon.receive(ServerPlayNetworkAddon.java:89) [fabric-networking-api-v1-1.2.12+def3f86d90-40dbcfca42bb4b90.jar:?] at net.fabricmc.fabric.impl.networking.server.ServerPlayNetworkAddon.receive(ServerPlayNetworkAddon.java:38) [fabric-networking-api-v1-1.2.12+def3f86d90-40dbcfca42bb4b90.jar:?] at net.fabricmc.fabric.impl.networking.AbstractChanneledNetworkAddon.handle(AbstractChanneledNetworkAddon.java:101) [fabric-networking-api-v1-1.2.12+def3f86d90-40dbcfca42bb4b90.jar:?] at net.fabricmc.fabric.impl.networking.server.ServerPlayNetworkAddon.handle(ServerPlayNetworkAddon.java:84) [fabric-networking-api-v1-1.2.12+def3f86d90-40dbcfca42bb4b90.jar:?] at net.minecraft.class_3244.handler$dje000$fabric-networking-api-v1$handleCustomPayloadReceivedAsync(class_3244.java:2061) [server-intermediary.jar:?] at net.minecraft.class_3244.method_12075(class_3244.java) [server-intermediary.jar:?] at net.minecraft.class_2817.method_12199(class_2817.java:38) [server-intermediary.jar:?] at net.minecraft.class_2817.method_11054(class_2817.java:7) [server-intermediary.jar:?] at net.minecraft.class_2535.method_10759(class_2535.java:167) [server-intermediary.jar:?] at net.minecraft.class_2535.method_10770(class_2535.java:152) [server-intermediary.jar:?] at net.minecraft.class_2535.channelRead0(class_2535.java:50) [server-intermediary.jar:?] at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327) [netty-codec-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299) [netty-codec-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327) [netty-codec-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299) [netty-codec-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327) [netty-codec-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:314) [netty-codec-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:435) [netty-codec-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279) [netty-codec-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar:?] at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) [netty-handler-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800) [netty-transport-classes-epoll-4.1.77.Final.jar:?] at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:487) [netty-transport-classes-epoll-4.1.77.Final.jar:?] at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:385) [netty-transport-classes-epoll-4.1.77.Final.jar:?] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995) [netty-common-4.1.77.Final.jar:?] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.77.Final.jar:?] at java.lang.Thread.run(Thread.java:833) [?:?] [13:54:35] [Netty Epoll Server IO #4/ERROR]: Exception occurred in netty pipeline io.netty.handler.codec.EncoderException: java.lang.OutOfMemoryError: Cannot reserve 4194304 bytes of direct buffer memory (allocated: 267032807, limit: 268435456) at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:125) ~[netty-codec-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) ~[netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:709) ~[netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:792) ~[netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:702) ~[netty-transport-4.1.77.Final.jar:?] at io.netty.channel.DefaultChannelPipeline.write(DefaultChannelPipeline.java:1015) ~[netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannel.write(AbstractChannel.java:301) ~[netty-transport-4.1.77.Final.jar:?] at net.minecraft.class_2535.doSendPacket(class_2535.java:2093) ~[server-intermediary.jar:?] at net.minecraft.class_2535.handler$dpf000$krypton$sendImmediately$rewrite(class_2535.java:2054) ~[server-intermediary.jar:?] at net.minecraft.class_2535.method_10764(class_2535.java:191) ~[server-intermediary.jar:?] at net.minecraft.class_2535.method_10752(class_2535.java:182) ~[server-intermediary.jar:?] at net.minecraft.class_3244.method_14369(class_3244.java:1256) ~[server-intermediary.jar:?] at net.minecraft.class_3244.method_14364(class_3244.java:1251) ~[server-intermediary.jar:?] at net.minecraft.class_3244.sendMessage(class_3244.java:11059) ~[server-intermediary.jar:?] at net.minecraft.class_3244.sendMessage(class_3244.java:11055) ~[server-intermediary.jar:?] at io.github.kosmx.emotes.server.network.IServerNetworkInstance.presenceResponse(IServerNetworkInstance.java:30) ~[emotecraft-for-MC1.19.2-2.2.7-b.build.47-fabric.jar:?] at net.minecraft.class_3244.presenceResponse(class_3244.java:11075) ~[server-intermediary.jar:?] at io.github.kosmx.emotes.server.network.AbstractServerEmotePlay.receiveMessage(AbstractServerEmotePlay.java:103) ~[emotecraft-for-MC1.19.2-2.2.7-b.build.47-fabric.jar:?] at io.github.kosmx.emotes.server.network.AbstractServerEmotePlay.receiveMessage(AbstractServerEmotePlay.java:92) ~[emotecraft-for-MC1.19.2-2.2.7-b.build.47-fabric.jar:?] at io.github.kosmx.emotes.fabric.network.ServerNetwork.receiveMessage(ServerNetwork.java:47) ~[emotecraft-for-MC1.19.2-2.2.7-b.build.47-fabric.jar:?] at net.fabricmc.fabric.impl.networking.server.ServerPlayNetworkAddon.receive(ServerPlayNetworkAddon.java:89) [fabric-networking-api-v1-1.2.12+def3f86d90-40dbcfca42bb4b90.jar:?] at net.fabricmc.fabric.impl.networking.server.ServerPlayNetworkAddon.receive(ServerPlayNetworkAddon.java:38) [fabric-networking-api-v1-1.2.12+def3f86d90-40dbcfca42bb4b90.jar:?] at net.fabricmc.fabric.impl.networking.AbstractChanneledNetworkAddon.handle(AbstractChanneledNetworkAddon.java:101) [fabric-networking-api-v1-1.2.12+def3f86d90-40dbcfca42bb4b90.jar:?] at net.fabricmc.fabric.impl.networking.server.ServerPlayNetworkAddon.handle(ServerPlayNetworkAddon.java:84) [fabric-networking-api-v1-1.2.12+def3f86d90-40dbcfca42bb4b90.jar:?] at net.minecraft.class_3244.handler$dje000$fabric-networking-api-v1$handleCustomPayloadReceivedAsync(class_3244.java:2061) [server-intermediary.jar:?] at net.minecraft.class_3244.method_12075(class_3244.java) [server-intermediary.jar:?] at net.minecraft.class_2817.method_12199(class_2817.java:38) [server-intermediary.jar:?] at net.minecraft.class_2817.method_11054(class_2817.java:7) [server-intermediary.jar:?] at net.minecraft.class_2535.method_10759(class_2535.java:167) [server-intermediary.jar:?] at net.minecraft.class_2535.method_10770(class_2535.java:152) [server-intermediary.jar:?] at net.minecraft.class_2535.channelRead0(class_2535.java:50) [server-intermediary.jar:?] at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327) [netty-codec-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299) [netty-codec-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327) [netty-codec-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299) [netty-codec-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327) [netty-codec-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:314) [netty-codec-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:435) [netty-codec-4.1.77.Final.jar:?] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279) [netty-codec-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar:?] at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) [netty-handler-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [netty-transport-4.1.77.Final.jar:?] at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800) [netty-transport-classes-epoll-4.1.77.Final.jar:?] at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:487) [netty-transport-classes-epoll-4.1.77.Final.jar:?] at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:385) [netty-transport-classes-epoll-4.1.77.Final.jar:?] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995) [netty-common-4.1.77.Final.jar:?] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.77.Final.jar:?] at java.lang.Thread.run(Thread.java:833) [?:?] Caused by: java.lang.OutOfMemoryError: Cannot reserve 4194304 bytes of direct buffer memory (allocated: 267032807, limit: 268435456) at java.nio.Bits.reserveMemory(Bits.java:178) ~[?:?] at java.nio.DirectByteBuffer.(DirectByteBuffer.java:121) ~[?:?] at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:332) ~[?:?] at io.netty.buffer.PoolArena$DirectArena.allocateDirect(PoolArena.java:649) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.PoolArena$DirectArena.newChunk(PoolArena.java:624) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.PoolArena.allocateNormal(PoolArena.java:203) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.PoolArena.tcacheAllocateNormal(PoolArena.java:187) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.PoolArena.allocate(PoolArena.java:136) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.PoolArena.reallocate(PoolArena.java:287) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.PooledByteBuf.capacity(PooledByteBuf.java:122) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.AbstractByteBuf.ensureWritable0(AbstractByteBuf.java:305) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.AbstractByteBuf.ensureWritable(AbstractByteBuf.java:280) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1103) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1096) ~[netty-buffer-4.1.77.Final.jar:?] at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1087) ~[netty-buffer-4.1.77.Final.jar:?] at net.minecraft.class_2540.writeBytes(class_2540.java:1422) ~[server-intermediary.jar:?] at net.minecraft.class_2658.method_11052(class_2658.java:55) ~[server-intermediary.jar:?] at net.minecraft.class_2545.method_10838(class_2545.java:45) ~[server-intermediary.jar:?] at net.minecraft.class_2545.encode(class_2545.java:14) ~[server-intermediary.jar:?] at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107) ~[netty-codec-4.1.77.Final.jar:?] ... 65 more [13:54:35] [Server thread/INFO]: KaapalTech lost connection: Internal Exception: io.netty.handler.codec.EncoderException: java.lang.OutOfMemoryError: Cannot reserve 4194304 bytes of direct buffer memory (allocated: 267032807, limit: 268435456) [13:54:35] [Server thread/INFO]: KaapalTech left the game [13:54:35] [Server thread/INFO]: Disconnecting client KaapalTech

davidromrell commented 8 months ago

is an issue with fabric and krypton not working well together, make sure to put a reference to this on fabric github.