[infinispan-issues] [JBoss JIRA] Commented: (ISPN-868) Running out of memory using Infinispan after adding a small number of entities

Tom Waterhouse (JIRA) jira-events at lists.jboss.org
Wed Jan 12 16:02:49 EST 2011


    [ https://issues.jboss.org/browse/ISPN-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575110#comment-12575110 ] 

Tom Waterhouse commented on ISPN-868:
-------------------------------------

A new test project has been attached that will function correctly.  Infinispan and JBossJTA both include jboss-logging but different versions.  That has been fixed.

The updated proejct includes the configuration from option #3 below.  I ran the test FillCartonTest.testKiwisAllInOneCarton() with the VM argument -Xmx256m.  The test made it to somewhere between 3400 and 3500 Kiwi objects added to the Container object before generating the message 'java.lang.OutOfMemoryError: GC overhead limit exceeded'.

> Running out of memory using Infinispan after adding a small number of entities
> ------------------------------------------------------------------------------
>
>                 Key: ISPN-868
>                 URL: https://issues.jboss.org/browse/ISPN-868
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 4.2.0.Final
>         Environment: JBossJTA 4.14.0/Hibernate 3.6.0.Final/Spring 3.0.5
>            Reporter: Tom Waterhouse
>            Assignee: Galder Zamarreño
>             Fix For: 4.2.1.Final
>
>         Attachments: ISPN-868-1.zip, ISPN-868.zip, ispn686-error-galder.txt, jconsole-mbeans.JPG, jconsole-memory-view.JPG, test-progress.JPG
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list