Hi,
Thanks for quick reply.
Coming to question is:
1) I did configuration in in server node xml like
<property name="memoryConfiguration">
<bean class="org.apache.ignite.configuration.MemoryConfiguration">
<property name="defaultMemoryPolicyName" value="Default_Region"
/>
<property name="pageSize" value="4096" />
<property name="systemCacheInitialSize" value="#{40 * 1024 *
1024}" />
<property name="systemCacheMaxSize" value="#{40 * 1024 * 1024}"
/>
<property name="memoryPolicies">
<list>
<bean
class="org.apache.ignite.configuration.MemoryPolicyConfiguration">
<property name="name"
value="Default_Region" />
<property name="initialSize" value="#{1
* 1024 * 1024 * 1024}" />
<property name="maxSize" value="#{2 *
1024 * 1024 * 1024}" />
<property name="pageEvictionMode"
value="RANDOM_2_LRU" />
</bean>
</list>
</property>
</bean>
</property>
After iam starting the server node iam getting exception
Caused by: class org.apache.ignite.IgniteCheckedException: MemoryPolicy
maxSize must not be smaller than initialSize [name=Default_Region,
initSize=1.1 GB, maxSize=-2147483648 B]
Did i made any wrong configurations?
2)Once region reached maximum size new data will store into default region
or one more custom region will create?
2)When i saw visor command line gui it was showing entries in heap section
and off-heap is empty is any wrong configurations enabled?
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Ignite2-0-memory-policy-tp12756p12760.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.