You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by Apache Wiki <wi...@apache.org> on 2017/12/12 15:32:00 UTC
[Jackrabbit Wiki] Update of "ReduceMemOfSharedFieldCache" by ThomasMueller
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.
The "ReduceMemOfSharedFieldCache" page has been changed by ThomasMueller:
https://wiki.apache.org/jackrabbit/ReduceMemOfSharedFieldCache?action=diff&rev1=2&rev2=3
+ Note: the following is for Jackrabbit 2.x and does not apply for Jackrabbit Oak.
+
Currently the SharedFieldCache keeps values nearly as is. Specifically for Date fields where there are usually many distinct values it could be useful to employ some kind of compression. See discussion here: [[http://thread.gmane.org/gmane.comp.apache.jackrabbit.user/11573]]
Recent rework on the SharedFieldCache also included the conversion of the generic StringIndex into a property type aware ValueIndex of Java Comparables. This probably already has a positive effect on the memory usage.