I checked the code
Actually, you can ignore this warning ("WARNING: No user-defined default
MemoryPolicy found; system default of 1GB size will be used.").
Apache Ignite applies your defaultMemoryPolicySize
<property name="defaultMemoryPolicySize" value="#{200L * 1024 * 1024}"/>
Or you can change your config to avoid such warning:
<property name="memoryConfiguration">
<bean
class="org.apache.ignite.configuration.MemoryConfiguration">
<property name="memoryPolicies">
<list>
<bean
class="org.apache.ignite.configuration.MemoryPolicyConfiguration">
<property name="name" value="500MB_Region"/>
<property name="initialSize" value="#{100 * 1024
* 1024}"/>
<property name="maxSize" value="#{500 * 1024 *
1024}"/>
</bean>
<bean
class="org.apache.ignite.configuration.MemoryPolicyConfiguration">
<property name="name" value="default"/>
<property name="initialSize" value="#{100L *
1024 * 1024}"/>
<property name="maxSize" value="#{200L * 1024 *
1024}"/>
</bean>
</list>
</property>
</bean>
</property>
Thanks,
Alexey
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/