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

Nitin Gupta closed OAK-9911.
----------------------------

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

Reply via email to