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 "Thomas Mueller (JIRA)" <ji...@apache.org> on 2012/12/13 09:29:21 UTC
[jira] [Resolved] (OAK-512) Caching in MicroKernelImpl
[ https://issues.apache.org/jira/browse/OAK-512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Mueller resolved OAK-512.
--------------------------------
Resolution: Fixed
Revision 1421124: use a 'weighted' cache of about 32 MB by default (can be configured with the system property "mk.cacheSize", the default is "33554432")
> Caching in MicroKernelImpl
> --------------------------
>
> Key: OAK-512
> URL: https://issues.apache.org/jira/browse/OAK-512
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: mk
> Reporter: Thomas Mueller
> Assignee: Thomas Mueller
> Priority: Minor
>
> Currently, the MicroKernelImpl uses LRU cache with a maximum number of entries. It doesn't account for the memory usage, so if there are very large entries, the system could run out of memory.
> Actually it does currently in some cases, as nodes of the PropertyIndex in oak-core can get very large.
> Nodes can get very large if the user stores binaries (that are smaller than the blob store threshold), many properties, or large properties.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira