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

Samba Siva Rao Kolusu commented on JCR-619:
-------------------------------------------

Is there a way to use Apache Java Caching System or some other caching library 
like ehCache or JBoss cache with Jackrabit?  If not, Can we expect this 
possibility in the near future ?

Rather an abstraction over the JCache(JSR-107)  allowing to plug in any cache 
manager that implements the specification would be very good step  ahead.



> CacheManager (Memory Management in Jackrabbit)
> ----------------------------------------------
>
>                 Key: JCR-619
>                 URL: https://issues.apache.org/jira/browse/JCR-619
>             Project: Jackrabbit
>          Issue Type: New Feature
>          Components: jackrabbit-core
>            Reporter: Thomas Mueller
>            Assignee: Stefan Guggisberg
>             Fix For: 1.2.1
>
>         Attachments: cacheManager.txt, cacheManager2.txt, cacheManager5.txt, 
> cacheManager6.txt, cacheManager7.txt, jackrabbit-cachemanager-config.patch, 
> stack.txt
>
>
> Jackrabbit can run out of memory because the the combined size of the various 
> caches is not managed. The biggest problem (for me) is the combined size of 
> the o.a.j.core.state.MLRUItemStateCache caches. Each session seems to create 
> a few (?) of those caches, and each one is limited to 4 MB by default.
> I have implemented a dynamic (cache-) memory management service that 
> distributes a fixed amount of memory dynamically to all those caches.
> Here is the patch

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