Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2431

Heap is slowly used up when versionable mixin is enabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • 4.2.0.Final
    • 4.1.0.Final
    • JCR
    • None
    • Hide

      1. Create ModeShape repository
      2. Create JCR with versionable mixin type
      3. Repeat above step to add up to 1 million nodes
      4. Improve performance to partition nodes into different tree structure
      5. Monitor heap usage via JMX tool, such as jconsole
      6. Heap is used up around 600k-700k nodes.

      Show
      1. Create ModeShape repository 2. Create JCR with versionable mixin type 3. Repeat above step to add up to 1 million nodes 4. Improve performance to partition nodes into different tree structure 5. Monitor heap usage via JMX tool, such as jconsole 6. Heap is used up around 600k-700k nodes.

    Description

      When versionable mixin type is enabled for JCR nodes, JVM heap is slowly used up to cause memory and CPU issues in the application.

      In the attached Java test case, the symptom becomes significant when the the number of JCR nodes reaches over 600K in the repository.

      Without enabling the versionable mixin type, adding 1 million JCR nodes with the attached configuration is just used about 500 MB of heap.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              a200953_jira Jimmy Zhang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: