hi Val, 

like this:

<bean class="org.apache.ignite.configuration.MemoryPolicyConfiguration">
    <property name="name" value="Account_Region"/>
    <property name="initialSize" value="#{100 * 1024 * 1024}"/>
    <property name="maxSize" value="#{200 * 1024 * 1024}"/>
    <property name="pageEvictionMode" value="RANDOM_2_LRU"/>
    <property name="swapFilePath" value="./swap/account.data"/>
</bean>


Regards
Aaron


aa...@tophold.com
 
From: vkulichenko
Date: 2017-07-21 03:15
To: user
Subject: Re: issue in REPLICATED model cache between server and client
Aaron,
 
Memory policy is not required on client, but it must be configured on
server. Do you have memory policy configuration for Account_Region?
 
Take a look at MemoryPoliciesExample, it demonstrates how to do this.
 
-Val
 
 
 
--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/issue-in-REPLICATED-model-cache-between-server-and-client-tp15154p15204.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to