jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Dulceanu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-7841) Off Heap Access causes OOME for OffRC
Date Tue, 04 Dec 2018 12:27:00 GMT

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

Andrei Dulceanu updated OAK-7841:
---------------------------------
    Affects Version/s: 1.9.10

> Off Heap Access causes OOME for OffRC
> -------------------------------------
>
>                 Key: OAK-7841
>                 URL: https://issues.apache.org/jira/browse/OAK-7841
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-tar
>    Affects Versions: 1.9.10
>            Reporter: Andrei Dulceanu
>            Assignee: Andrei Dulceanu
>            Priority: Major
>             Fix For: 1.10
>
>
> Running OffRC on a machine with 14GB of RAM with 8GB of heap, 4GB of segment cache and
off heap access enabled, an OOME is thrown:
> {noformat}
> Caused by: java.lang.OutOfMemoryError: Direct buffer memory
> at java.nio.Bits.reserveMemory(Bits.java:695)
> at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)
> at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:311)
> at org.apache.jackrabbit.oak.segment.file.tar.FileAccess$Random.read(FileAccess.java:121)
> at org.apache.jackrabbit.oak.segment.file.tar.SegmentTarReader.readSegment(SegmentTarReader.java:82)
> at org.apache.jackrabbit.oak.segment.file.tar.TarReader.readEntry(TarReader.java:309)
> at org.apache.jackrabbit.oak.segment.file.tar.TarFiles.readSegment(TarFiles.java:522)
> at org.apache.jackrabbit.oak.segment.file.AbstractFileStore.readSegmentUncached(AbstractFileStore.java:279)
> at org.apache.jackrabbit.oak.segment.file.FileStore.lambda$readSegment$9(FileStore.java:470)
> at org.apache.jackrabbit.oak.segment.SegmentCache$NonEmptyCache.lambda$getSegment$0(SegmentCache.java:163)
> at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4724)
> at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3522)
> at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2315)
> at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2278)
> at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2193)
> {noformat}
> /cc [~mduerig]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message