This content has been marked as final.
Show 2 replies
-
1. Re: Clarification of memory usage?
wdfink Jul 28, 2014 11:13 AM (in response to ruchiragayan)how do you use the cache? Is it possible to show more details of configuration and use.
also what you add to this cache and when you see that Objects?
-
2. Re: Clarification of memory usage?
ruchiragayan Jul 29, 2014 12:02 AM (in response to wdfink)Just after deploy my .ear in JBoss java.util.concurrent.ConcurrentLinkedQueue$Itr ara visible.
Any selected time after the deployment java.util.concurrent.ConcurrentLinkedQueue$Itr are there in memory.
In the deployment time I loaded some data to Infinispan cache (like customers).
My configuration as follows
<global> <transport transportClass="org.infinispan.remoting.transport.jgroups.JGroupsTransport"> <properties> <property name="configurationFile" value="jgroups-tcp-custom.xml"/> </properties> </transport> <globalJmxStatistics enabled="false" allowDuplicateDomains="true"> </globalJmxStatistics> </global> <default> <eviction strategy="NONE"/> <transaction transactionMode="NON_TRANSACTIONAL" lockingMode="OPTIMISTIC" transactionManagerLookupClass="org.infinispan.transaction.lookup.GenericTransactionManagerLookup" syncRollbackPhase="false" syncCommitPhase="false" useEagerLocking="false"/> <clustering mode="local"> <async/> </clustering> <indexing enabled="false" indexLocalOnly="true"> <properties> <property name="hibernate.search.default.directory_provider" value="ram"/> <property name="hibernate.search.lucene_version" value="LUCENE_CURRENT"/> <property name="hibernate.search.default.exclusive_index_use" value="false"/> </properties> </indexing> </default> <namedCache name="customer"> <eviction strategy="LIRS" maxEntries="2000"/> <expiration maxIdle="3600000"/> <!--60 minutes max idle --> <indexing enabled="true"/> </namedCache>