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:25:21 UTC

[jira] [Created] (OAK-512) Caching in MicroKernelImpl

Thomas Mueller created OAK-512:
----------------------------------

             Summary: 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