You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Bob Li <27...@qq.com> on 2017/07/24 11:56:06 UTC
Zero entry in off-heap.
I wanna put entries into off-heap area by the following configuration:
Cache definition:
<bean
class="org.apache.ignite.configuration.CacheConfiguration">
<property name="name"
value="commercialCache"></property>
<property name="statisticsEnabled"
value="true" />
<property name="onheapCacheEnabled"
value="false" />
<property name="indexedTypes"
value="java.lang.Long,
com.calm.report.model.Commercial" />
<property name="cacheMode"
value="PARTITIONED" />
<property name="backups" value="0"
/>
<property name="memoryPolicyName"
value="50M_Region_Eviction" />
</bean>
Memory Policy :50M_Region_Eviction
<bean
class="org.apache.ignite.configuration.MemoryPolicyConfiguration">
<property
name="name" value="50M_Region_Eviction" />
<property
name="initialSize" value="#{25 * 1024 * 1024}" />
<property
name="maxSize" value="#{50 * 1024 * 1024}" />
<property
name="metricsEnabled" value="true" />
</bean>
But check the Ignitevisorcmd console, but it always displayed 0 entry
like:
Entries (Heap / Off-heap)
max: 20098 (20098 / 0)
why ? what's my mistake?
thanks.
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Zero-entry-in-off-heap-tp15442.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Zero entry in off-heap.
Posted by mcherkasov <mc...@gridgain.com>.
Hi Bob,
your config is ok: https://issues.apache.org/jira/browse/IGNITE-5461
there's a bug in visor which is fixed in 2.1 version.
Thanks,
Mikhail.
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Zero-entry-in-off-heap-tp15442p15457.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.