[
https://issues.apache.org/jira/browse/OAK-1383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Mueller updated OAK-1383:
--------------------------------
Fix Version/s: 0.16
> Reduce memory usage of the cache
> --------------------------------
>
> Key: OAK-1383
> URL: https://issues.apache.org/jira/browse/OAK-1383
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Reporter: Thomas Mueller
> Assignee: Thomas Mueller
> Fix For: 0.16
>
>
> The LIRS cache calculates the estimated number of cells using the cache size
> and the average entry size, and allocates empty arrays accordingly.
> Currently, the LIRS cache uses a default entry size of 100 bytes, which is
> relatively low. Because of that, even an empty cache needs quite a lot of
> memory.
> I found the average size of the entries is around 2000 for our unit tests.
> Using this average size should reduce memory usage a lot.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)