jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-2647) Reduce temporary memory usage of hierarchy cache initialization
Date Mon, 21 Jun 2010 11:40:22 GMT

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

Marcel Reutegger updated JCR-2647:
----------------------------------

    Attachment: JCR-2647.patch

Attached patch limits the memory used while initializing the hierarchy cache to 64MB.

Initializing the hierarchy cache of an index segment with two million nodes is now three times
slower, but uses five times less memory.

> Reduce temporary memory usage of hierarchy cache initialization
> ---------------------------------------------------------------
>
>                 Key: JCR-2647
>                 URL: https://issues.apache.org/jira/browse/JCR-2647
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>    Affects Versions: 2.0.0, 2.1.0
>            Reporter: Marcel Reutegger
>            Priority: Minor
>         Attachments: JCR-2647.patch
>
>
> Initializing the hierarchy cache temporarily uses memory, which is linear to the size
of the index segment. This process should be split into multiple phases to limit the memory
usage to a fixed amount.
> The temporary memory usage for an index segment current is about 170 bytes per node.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message