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

Memory Leak WorkspaceCache?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Blocker Blocker
    • 3.0.0.CR3
    • 3.0.0.CR2
    • None
    • None

      I think I might have found a memory leak. I am running a load testing script that creates a bunch of nodes in a hierarchy of about 7 deep and then stores some binary properties of random sizes from 1024 to 16384 bytes into the nt:resource leaf nodes. It next runs a bunch of queries to find some random collection of nodes, modifies some properties and moves some of the node hierarchy around.

      After about 10 iterations with JBoss AS 7.2.0.Alpha1 configures with 1536K max heap the appserver heap hits 100% and the server stops in a continual garbage collection loop.

      Before I delve deeper I thought I would post this bug and attach some of the heap analysis I've done. THere seem to be a lot of char[] allocated in workspace cache. See the attached html from jprofiler.

        1. 1678.zip
          21 kB
        2. char_array_allocations.zip
          23 kB
        3. jprofiler_telemetry.zip
          821 kB
        4. standalone-modeshape.xml
          23 kB

              hchiorean Horia Chiorean (Inactive)
              bwallis42_jira Brian Wallis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: