[
https://issues.apache.org/jira/browse/PLC4X-119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukas Ott closed PLC4X-119.
---------------------------
Resolution: Pending Closed
> Netty ByteBuffer Leak
> ---------------------
>
> Key: PLC4X-119
> URL: https://issues.apache.org/jira/browse/PLC4X-119
> Project: Apache PLC4X
> Issue Type: Bug
> Affects Versions: 0.3.1
> Reporter: Tim Mitsch
> Priority: Minor
>
>
> When Scraping for other frequently connectionto plc the following exception
> comes up ... more or less frequently but quite rare; has no functional
> consequence, but maybe someone knows more about
> [http://netty.io/wiki/reference-counted-objects.html]
> {code:java}
> 23:39:40.555 [nioEventLoopGroup-5-1] ERROR io.netty.util.ResourceLeakDetector
> - LEAK: ByteBuf.release() was not called before it's garbage-collected. See
> http://netty.io/wiki/reference-counted-objects.html for more information.
> Recent access records:
> Created at:
> io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:349)
> io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:187)
> io.netty.buffer.AbstractByteBufAllocator.buffer(AbstractByteBufAllocator.java:123)
> io.netty.buffer.AbstractByteBuf.readBytes(AbstractByteBuf.java:864)
> io.netty.buffer.WrappedByteBuf.readBytes(WrappedByteBuf.java:616)
> org.apache.plc4x.java.isoontcp.protocol.IsoOnTcpProtocol.decode(IsoOnTcpProtocol.java:100)
> io.netty.handler.codec.ByteToMessageCodec$1.decode(ByteToMessageCodec.java:42)
> io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:502)
> io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:441)
> io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:278)
> io.netty.handler.codec.ByteToMessageCodec.channelRead(ByteToMessageCodec.java:103)
> 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:1408)
> 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:682)
> io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:617)
> io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:534)
> io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)
> io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:906)
> io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> java.lang.Thread.run(Thread.java:748)
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)