# GATEWAY - ResourceLeakDetector

**URL:** <https://forum.inductiveautomation.com/t/gateway-resourceleakdetector/53208>\
**Category:** Ignition Early Access\
**Created:** [November 17, 2021, 9:18pm UTC](https://forum.inductiveautomation.com/t/gateway-resourceleakdetector/53208 "2021-11-17T21:18:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [November 17, 2021, 9:18pm UTC](https://forum.inductiveautomation.com/t/gateway-resourceleakdetector/53208/1 "2021-11-17T21:18:56Z")

</div>

8.1.11

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/7/d724d267765af08dd18cca7ada703893a1a20129.jpeg)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 17, 2021, 10:24pm UTC](https://forum.inductiveautomation.com/t/gateway-resourceleakdetector/53208/2 "2021-11-17T22:24:56Z")

</div>

You’ve found a bug in Jython. Are you doing anything with the `socket` library?

---

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [November 17, 2021, 10:30pm UTC](https://forum.inductiveautomation.com/t/gateway-resourceleakdetector/53208/3 "2021-11-17T22:30:25Z")

</div>

No, I have some cascading views with repeater inside.

The primary view goto recordset from SQL then it pass filtered dataset to each child and each child pass to filered data from dataset received to the next one

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 17, 2021, 10:32pm UTC](https://forum.inductiveautomation.com/t/gateway-resourceleakdetector/53208/4 "2021-11-17T22:32:40Z")

</div>

No part of Perspective uses `org.python.netty`. That message is coming from a script somewhere.

---

<div class="post-metadata">

**Author:** ![hazey](https://avatars.discourse-cdn.com/v4/letter/h/a587f6/32.png) [@hazey](https://forum.inductiveautomation.com/u/hazey)\
**Post date:** [November 22, 2021, 6:32am UTC](https://forum.inductiveautomation.com/t/gateway-resourceleakdetector/53208/5 "2021-11-22T06:32:37Z")

</div>

Hi I also have similar fault

ResourceLeakDetector 22Nov2021 06:09:30 LEAK: ByteBuf.release() was not called before it’s garbage-collected. See [Netty.docs: Reference counted objects](https://netty.io/wiki/reference-counted-objects.html) for more information. Recent access records: Created at: io.netty.buffer.UnpooledByteBufAllocator.newDirectBuffer(UnpooledByteBufAllocator.java:96) io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:187) io.netty.buffer.AbstractByteBufAllocator.buffer(AbstractByteBufAllocator.java:123) io.netty.buffer.AbstractByteBuf.readBytes(AbstractByteBuf.java:873) com.inductiveautomation.xopc.drivers.common.BufferEvaluatorImpl.evaluateBuffer(BufferEvaluatorImpl.java:69) com.inductiveautomation.xopc.drivers.tcp.TCPConnection$IOHandler.dataArrived(TCPConnection.java:170) com.inductiveautomation.iosession.socket.AsyncSocketIOSession.run(AsyncSocketIOSession.java:77) java.base/java.lang.Thread.run(Unknown Source)

thanks Hazey

---

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [November 22, 2021, 12:30pm UTC](https://forum.inductiveautomation.com/t/gateway-resourceleakdetector/53208/6 "2021-11-22T12:30:00Z")

</div>

The only import I use is math and datetime. I think i got that error when I try to load a huge bunch of data from the SQL

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 22, 2021, 4:13pm UTC](https://forum.inductiveautomation.com/t/gateway-resourceleakdetector/53208/7 "2021-11-22T16:13:36Z")

</div>

@hazey,  
That’s the same error message, but a different source (`io.netty`). What version of Ignition (and the OPC UA module) are you using?

@luc.martin Nothing in Ignition I’m aware of uses `org.python.netty` directly, so I’m pretty confident it’s something being imported somewhere or some other third-party code, but I’ll admit I could be wrong about that.

Both of you should probably contact support.

---

<div class="post-metadata">

**Author:** ![hazey](https://avatars.discourse-cdn.com/v4/letter/h/a587f6/32.png) [@hazey](https://forum.inductiveautomation.com/u/hazey)\
**Post date:** [November 22, 2021, 7:53pm UTC](https://forum.inductiveautomation.com/t/gateway-resourceleakdetector/53208/8 "2021-11-22T19:53:00Z")

</div>

@paul-griffith version is 8.1.10 and OPC is 9.1.10
