7 Replies Latest reply on Jun 11, 2018 11:03 AM by Galder Zamarreño

    How to manage infinispan memory in jboss?

    alireza alallah Newbie


      I use infinispan local cache in wildfly 10 , i have a jee application that load large data into cache, after serveral minute and work with cache jboss freeze and reached to max heap size memory , how to manage local cache in jboss?

      Also , what is different between infinispan stanalone server and infinispan as subsystem in jboss?


      <cache-container name="test-cache-container" default-cache="engine-channel-cache" jndi-name="java:jboss/infinispan/container/test-cache-container" statistics-enabled="true">

                      <local-cache name="engine-channel-cache" jndi-name="java:jboss/infinispan/container/test-cache-container/engine-channel-cache" statistics-enabled="true"/>

                      <local-cache name="transaction-cache" jndi-name="java:jboss/infinispan/container/test-cache-container/transaction-cache" statistics-enabled="true"/>



      Also set statistics-enabled="true" in caches but unable to see statistic in jboss cli as below: