Uploaded image for project: 'Apache PLC4X'
  1. Apache PLC4X
  2. PLC4X-175

ERROR ResourceLeakDetector: LEAK: ByteBuf.release() was not called before it's garbage-collected

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.5.0, 0.6.0
    • Fix Version/s: None
    • Component/s: Driver-Modbus
    • Labels:

      Description

      After some time collecting data from a modbus TCP device we get the error:

       

       

      16:29:50.228 ERROR 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:331)
              io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:185)
              io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:176)
              io.netty.buffer.AbstractByteBufAllocator.ioBuffer(AbstractByteBufAllocator.java:137)
              io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator$MaxMessageHandle.allocate(DefaultMaxMessagesRecvByteBufAllocator.java:114)
              io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:147)
              io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:644)
              io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:579)
              io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:496)
              io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:458)
              io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:897)
              io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
              java.lang.Thread.run(Thread.java:748)
      

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julian.feinauer Julian Feinauer
                Reporter:
                acs Alvaro del Castillo
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: