Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-868

Running out of memory using Infinispan after adding a small number of entities

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 4.2.1.CR4, 4.2.1.FINAL
    • 4.2.0.Final
    • None
    • None
    • Hide

      Use the attached test case. Either FillCartonTest.java or FillContainerTest.java can be used. FillCartonTest.java uses the simpler Hibernate entities.

      Show
      Use the attached test case. Either FillCartonTest.java or FillContainerTest.java can be used. FillCartonTest.java uses the simpler Hibernate entities.

    Description

      While running a load test data builder for our application we ran out of memory very quickly. A simple test case (attached) was created to duplicate the issue. We found running the simple test case illustrates that Infinispan uses a large amount of heap space.

      As a reference the same test was run using EHCache 2.2. Memory usage was much lower; we never ran out of heap space. Note that EHCache was used as a reference only, our goal is to go to production with Infinispan.

      Attachments

        1. With proper fix.jpg
          With proper fix.jpg
          32 kB
        2. test-progress.JPG
          test-progress.JPG
          77 kB
        3. memory usage with 4.2.1-SNAPSHOT.png
          memory usage with 4.2.1-SNAPSHOT.png
          211 kB
        4. Memory leak.jpg
          Memory leak.jpg
          284 kB
        5. jconsole-memory-view.JPG
          jconsole-memory-view.JPG
          107 kB
        6. jconsole-mbeans.JPG
          jconsole-mbeans.JPG
          121 kB
        7. ISPN-868-1.zip
          30 kB
        8. ISPN-868.zip
          388 kB
        9. ispn686-error-galder.txt
          10 kB

        Issue Links

          Activity

            People

              rh-ee-galder Galder Zamarreño
              tomwaterhouse_jira Tom Waterhouse (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: