You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Mikael <mi...@telia.com> on 2018/01/11 10:19:10 UTC
Is the default memory region always there ?
If I use something like the configuration example from the documentation:
|<bean class="org.apache.ignite.configuration.IgniteConfiguration"> <!--
Durable memory configuration. --> <property
name="dataStorageConfiguration"> <bean
class="org.apache.ignite.configuration.DataStorageConfiguration">
<property name="dataRegionConfigurations"> <list> <!-- Defining a data
region that will consume up to 500 MB of RAM and will have eviction and
persistence enabled. --> <bean
class="org.apache.ignite.configuration.DataRegionConfiguration"> <!--
Custom region name. --> <property name="name" value="500MB_Region"/>
<!-- 100 MB initial size. --> <property name="initialSize" value="#{100L
* 1024 * 1024}"/> <!-- 500 MB maximum size. --> <property name="maxSize"
value="#{500L * 1024 * 1024}"/> <!-- Enabling persistence for the
region. --> <property name="persistenceEnabled" value="true"/> </bean>
</list> </property> </bean> </property> <!-- The rest of the
configuration. --> </bean> Will this replace the default memory region
with only one called "500MB_Region" or will the default region still be
there ? Mikael |
Re: Is the default memory region always there ?
Posted by Alexey Kukushkin <ku...@gmail.com>.
Default memory region is always there even if you add more user-defined
data regions. If you are not going to use it at all and not happy with the
memory still allocated to the default region you can specify a smaller
amount of memory allocated for the default region as described here
<https://apacheignite.readme.io/docs/memory-configuration>.