Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.1
    • Component/s: jackrabbit-core
    • Labels:
      None

      Description

      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

      1. jackrabbit-cachemanager-config.patch
        5 kB
        Jaka Jaksic
      2. cacheManager7.txt
        2 kB
        Thomas Mueller
      3. stack.txt
        41 kB
        Xiaohua Lu
      4. cacheManager6.txt
        2 kB
        Thomas Mueller
      5. cacheManager5.txt
        41 kB
        Thomas Mueller
      6. cacheManager2.txt
        15 kB
        Thomas Mueller
      7. cacheManager.txt
        15 kB
        Thomas Mueller

        Issue Links

          Activity

          Jukka Zitting made changes -
          Workflow jira [ 12388448 ] no-reopen-closed, patch-avail [ 12469358 ]
          Jukka Zitting made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Jaka Jaksic made changes -
          Attachment jackrabbit-cachemanager-config.patch [ 12349334 ]
          Jukka Zitting made changes -
          Affects Version/s 1.1 [ 12310346 ]
          Stefan Guggisberg made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Thomas Mueller made changes -
          Attachment cacheManager7.txt [ 12346144 ]
          Stefan Guggisberg made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Xiaohua Lu made changes -
          Attachment stack.txt [ 12346039 ]
          Stefan Guggisberg made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Stefan Guggisberg made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Thomas Mueller made changes -
          Attachment cacheManager6.txt [ 12345100 ]
          Stefan Guggisberg made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Resolved [ 5 ]
          Stefan Guggisberg made changes -
          Assignee Tobias Bocanegra [ tripod ] Stefan Guggisberg [ stefan@jira ]
          Thomas Mueller made changes -
          Attachment cacheManager5.txt [ 12344891 ]
          Stefan Guggisberg made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Jukka Zitting made changes -
          Link This issue incorporates JCR-625 [ JCR-625 ]
          Tobias Bocanegra made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Fix Version/s 1.2 [ 12312100 ]
          Resolution Fixed [ 1 ]
          Tobias Bocanegra made changes -
          Assignee Tobias Bocanegra [ tripod ]
          Thomas Mueller made changes -
          Attachment cacheManager2.txt [ 12344288 ]
          Thomas Mueller made changes -
          Field Original Value New Value
          Attachment cacheManager.txt [ 12344281 ]
          Thomas Mueller created issue -

            People

            • Assignee:
              Stefan Guggisberg
              Reporter:
              Thomas Mueller
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development