are there any plans to upgrade the netty dependency?
The one used by couchbase java-client is 4.0.56.Final which is almost 1 year old.
The reason for asking that is potentially a memory leak fix which might have been fixed in latest version (@see https://github.com/netty/netty/issues/6343).
A bit of context:
I’m querying a large data set using async bucket and stream it to a http response.
I see in logs the following warning:
ERROR 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.
which leads to the following error:
com.couchbase.client.deps.io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 16777216 byte(s) of direct memory (used: 3204448263, max: 3221225472) at
Any hints to address this issue would be greatly appreciated.