Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LEAK: ByteBuf.release() #15

Open
nevenchen opened this issue Sep 24, 2019 · 0 comments
Open

LEAK: ByteBuf.release() #15

nevenchen opened this issue Sep 24, 2019 · 0 comments

Comments

@nevenchen
Copy link

Memory Leak happens when request more then 50 conccurence

2019-09-24 07:46:35.085 ERROR 1 --- [nt event loop 3] io.netty.util.ResourceLeakDetector : LEAK: ByteBuf.release() was not called before it's garbage-collected. See https://netty.io/wiki/reference-counted-objects.html for more information., Recent access records: , Created at:, io.netty.buffer.AbstractByteBufAllocator.compositeDirectBuffer(AbstractByteBufAllocator.java:223), io.netty.buffer.AbstractByteBufAllocator.compositeDirectBuffer(AbstractByteBufAllocator.java:218), io.netty.buffer.AbstractByteBufAllocator.compositeBuffer(AbstractByteBufAllocator.java:193), com.mastfrog.netty.http.client.MessageHandlerImpl$ResponseState.<init>(MessageHandlerImpl.java:118), com.mastfrog.netty.http.client.MessageHandlerImpl.state(MessageHandlerImpl.java:167), com.mastfrog.netty.http.client.MessageHandlerImpl.channelRead(MessageHandlerImpl.java:253), io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374), io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360), io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352), io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102), io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374), io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360), io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352), io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:438), io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328), io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:302), io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:253), io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374), io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360), io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352), io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1421), io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374), io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360), io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930), io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163), io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:697), io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:632), io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:549), io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:511), io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:918), io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74), java.lang.Thread.run(Thread.java:748),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant