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

Marcel Reutegger commented on JCR-2051:
---------------------------------------

> if the ItemState is gc'ed because it is no longer externally referenced), the 
> changes will
> be lost since the  serialized copy on disk does not reflect the changes made 
> after it was 
> created.

right. that part is missing in my proposal. but it can be solved by registering 
an item state listener
that gets callbacks when an item state changes. If the callback is for a weakly 
referenced item state,
then the serialized copy needs to be updated.


> 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.

Reply via email to