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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2019/04/09 10:37:11 UTC

[jira] [Updated] (OAK-6303) Cache in CachingBlobStore might grow beyond configured limit

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

Davide Giannella updated OAK-6303:
----------------------------------
    Fix Version/s: 1.14.0

> Cache in CachingBlobStore might grow beyond configured limit
> ------------------------------------------------------------
>
>                 Key: OAK-6303
>                 URL: https://issues.apache.org/jira/browse/OAK-6303
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: blob, core
>            Reporter: Julian Reschke
>            Assignee: Thomas Mueller
>            Priority: Major
>             Fix For: 1.12.0, 1.14.0
>
>         Attachments: OAK-6303-test.diff, OAK-6303.diff
>
>
> It appears that depending on actual cache entry sizes, the {{CacheLIRS}} might grow beyond the configured limit.
> For {{RDBBlobStore}}, the limit is currently configured to 16MB, yet storing random 2M entries appears to fill the cache with 64MB of data (according to it's own stats).
> The attached test case reproduces this.
> (it seems this is caused by the fact that each of the 16 segments of the cache can hold 2 entries, no matter how big they are...)



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