Describe the bug
CAT 服务端运行时OOM
[01-16 23:59:37.928] [ERROR] [TcpSocketSender] Error when sending message over TCP socket!
io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 16777216 byte(s) of direct memory (used: 941279084, max: 954728448)
at io.netty.util.internal.PlatformDependent.incrementMemoryCounter(PlatformDependent.java:725)
at io.netty.util.internal.PlatformDependent.allocateDirectNoCleaner(PlatformDependent.java:680)
at io.netty.buffer.PoolArena$DirectArena.allocateDirect(PoolArena.java:758)
at io.netty.buffer.PoolArena$DirectArena.newChunk(PoolArena.java:734)
at io.netty.buffer.PoolArena.allocateNormal(PoolArena.java:245)
at io.netty.buffer.PoolArena.allocate(PoolArena.java:215)
at io.netty.buffer.PoolArena.allocate(PoolArena.java:147)
at io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:342)
at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:187)
at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:178)
at io.netty.buffer.AbstractByteBufAllocator.buffer(AbstractByteBufAllocator.java:115)
at com.dianping.cat.message.spi.codec.NativeMessageCodec.encode(NativeMessageCodec.java:110)
at com.dianping.cat.message.io.TcpSocketSender.sendInternal(TcpSocketSender.java:284)
at com.dianping.cat.message.io.TcpSocketSender.processNormalMessage(TcpSocketSender.java:211)
at com.dianping.cat.message.io.TcpSocketSender.run(TcpSocketSender.java:240)
at java.lang.Thread.run(Thread.java:748)
at org.unidal.helper.Threads$RunnableThread.run(Threads.java:294)
Describe the bug CAT 服务端运行时OOM [01-16 23:59:37.928] [ERROR] [TcpSocketSender] Error when sending message over TCP socket! io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 16777216 byte(s) of direct memory (used: 941279084, max: 954728448) at io.netty.util.internal.PlatformDependent.incrementMemoryCounter(PlatformDependent.java:725) at io.netty.util.internal.PlatformDependent.allocateDirectNoCleaner(PlatformDependent.java:680) at io.netty.buffer.PoolArena$DirectArena.allocateDirect(PoolArena.java:758) at io.netty.buffer.PoolArena$DirectArena.newChunk(PoolArena.java:734) at io.netty.buffer.PoolArena.allocateNormal(PoolArena.java:245) at io.netty.buffer.PoolArena.allocate(PoolArena.java:215) at io.netty.buffer.PoolArena.allocate(PoolArena.java:147) at io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:342) at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:187) at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:178) at io.netty.buffer.AbstractByteBufAllocator.buffer(AbstractByteBufAllocator.java:115) at com.dianping.cat.message.spi.codec.NativeMessageCodec.encode(NativeMessageCodec.java:110) at com.dianping.cat.message.io.TcpSocketSender.sendInternal(TcpSocketSender.java:284) at com.dianping.cat.message.io.TcpSocketSender.processNormalMessage(TcpSocketSender.java:211) at com.dianping.cat.message.io.TcpSocketSender.run(TcpSocketSender.java:240) at java.lang.Thread.run(Thread.java:748) at org.unidal.helper.Threads$RunnableThread.run(Threads.java:294)