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] Commented: (JCR-2051) Disk based transient space
Date Wed, 01 Apr 2009 12:07:13 GMT

    [ https://issues.apache.org/jira/browse/JCR-2051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694495#action_12694495

Marcel Reutegger commented on JCR-2051:

Here's my proposal for an implementation:

- have a map that references (hard or weak) all transient item states
- keep hard references to N most recently used item states
- if item state drops out of most recently used map turn its reference into a weak one and
swap out the item state
- on request of an item state, either return the hard referenced item state or resolve the
weak reference into an item state read from disk

> Disk based transient space
> --------------------------
>                 Key: JCR-2051
>                 URL: https://issues.apache.org/jira/browse/JCR-2051
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Marcel Reutegger
>            Priority: Minor
> Currently the transient space in jackrabbit-core is held completely in memory. This limits
the number of items that can be part of a save call. The memory usage for the transient space
should be lowered significantly, e.g. by writing item states to a swap file on a disk.

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

View raw message