You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2022/12/19 12:37:00 UTC

[jira] [Updated] (OAK-9911) Resource leak in ChunkedBlobStream

     [ https://issues.apache.org/jira/browse/OAK-9911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Reschke updated OAK-9911:
--------------------------------
    Fix Version/s: 1.22.14

> Resource leak in ChunkedBlobStream
> ----------------------------------
>
>                 Key: OAK-9911
>                 URL: https://issues.apache.org/jira/browse/OAK-9911
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-tar
>    Affects Versions: 1.44.0
>            Reporter: Julian Sedding
>            Assignee: Julian Sedding
>            Priority: Major
>             Fix For: 1.46.0, 1.22.14
>
>
> When running the test case {{{color:#000000}ExternalPrivateStoreIT#testSyncBigBlob{color}}} I see the following error logged about a resource leak:
> {noformat}
> 14:55:50.492 ERROR [standby-1] ResourceLeakDetector.java:319 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.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:402)
>     io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:188)
>     io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:174)
>     io.netty.buffer.AbstractByteBufAllocator.buffer(AbstractByteBufAllocator.java:108)
>     org.apache.jackrabbit.oak.segment.standby.codec.ChunkedBlobStream.readChunk(ChunkedBlobStream.java:120)
>     org.apache.jackrabbit.oak.segment.standby.codec.ChunkedBlobStream.readChunk(ChunkedBlobStream.java:34)
>     io.netty.handler.stream.ChunkedWriteHandler.doFlush(ChunkedWriteHandler.java:229)
>  {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)