[
https://issues.apache.org/jira/browse/JCR-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Parvulescu resolved JCR-3450.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.6
Assignee: Alex Parvulescu
The patch verifies that the use of ComparableArrays is needed, if not it falls
back on simple Comparable values. This circumvents the creation of unneeded
arrays so it should fix the extra memory consumption problem introduced by
JCR-2906 in the cases where there are only simple values.
Thanks Marcel for the offline feedback.
fixed with rev 1400843.
> Reduce memory usage of SharedFieldCache.ValueIndex
> --------------------------------------------------
>
> Key: JCR-3450
> URL: https://issues.apache.org/jira/browse/JCR-3450
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: 2.3.5, 2.3.6, 2.3.7, 2.4, 2.4.1, 2.4.2, 2.4.3, 2.5,
> 2.5.1, 2.5.2
> Reporter: Alex Parvulescu
> Assignee: Alex Parvulescu
> Fix For: 2.6
>
>
> JCR-2906 introduced support for order by on multi-valued properties. It looks
> like this increased memory usage for the SharedFieldCache.ValueIndex because
> of the additional arrays that are used even if there is only a single value
> for a given property on a node.
--
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