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

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Thu Jan 13 05:17:49 EST 2011


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

Galder Zamarreño commented on ISPN-868:
---------------------------------------

Btw, if you're comparing Infinispan and EhCache, I don't think the memory settings for the different caches in EhCache match the ones for Infinispan:

[2011-01-13 11:01:28.437,     0]WARN [main](Cache.java:950) - Cache: kiwi has a maxElementsInMemory of 0.  In Ehcache 2.0 this has been changed to mean a store with no capacity limit. Set it to 1 if you want no elements cached in memory
[2011-01-13 11:01:28.481,    44]WARN [main](Cache.java:950) - Cache: carton has a maxElementsInMemory of 0.  In Ehcache 2.0 this has been changed to mean a store with no capacity limit. Set it to 1 if you want no elements cached in memory
[2011-01-13 11:01:28.482,    45]WARN [main](Cache.java:950) - Cache: container has a maxElementsInMemory of 0.  In Ehcache 2.0 this has been changed to mean a store with no capacity limit. Set it to 1 if you want no elements cached in memory
[2011-01-13 11:01:28.484,    47]WARN [main](Cache.java:950) - Cache: pastry has a maxElementsInMemory of 0.  In Ehcache 2.0 this has been changed to mean a store with no capacity limit. Set it to 1 if you want no elements cached in memory
[2011-01-13 11:01:28.504,    67]WARN [main](Cache.java:950) - Cache: egg has a maxElementsInMemory of 0.  In Ehcache 2.0 this has been changed to mean a store with no capacity limit. Set it to 1 if you want no elements cached in memory

So, if you were to compare them equally, I suppose you'd have to change maxElementsInMemory to 1000 for all caches in the ehcache config too?

> 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