7 Replies Latest reply on Jun 11, 2018 11:03 AM by galder.zamarreno

    How to manage infinispan memory in jboss?

    alireza.alallah

      Hi

      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"/>

      </cache-container>

       

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

       

      /subsystem=infinispan/cache-container=test-cache-container/local-cache=engine-channel-cache:read-resource(include-runtime=true)