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:38:00 UTC

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

    [ https://issues.apache.org/jira/browse/OAK-9911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17649305#comment-17649305 ] 

Julian Reschke commented on OAK-9911:
-------------------------------------

trunk: (1.46.0) [14b7009283|https://github.com/apache/jackrabbit-oak/commit/14b700928367afc0d9065f402f2ca30e88b380d4]
1.22: [3da99bec4d|https://github.com/apache/jackrabbit-oak/commit/3da99bec4d5d4411cd32391cd3f16fe9d8695e92]


> 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)