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

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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major 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.

      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.

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

              rh-ee-galder Galder Zamarreño
              tomwaterhouse_jira Tom Waterhouse (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: