Hello,
I've got this simple configuration file:
<bean class="org.apache.ignite.configuration.IgniteConfiguration" id="VDS">
<property name="dataStorageConfiguration">
<bean
class="org.apache.ignite.configuration.DataStorageConfiguration">
<property name="defaultDataRegionConfiguration">
<bean
class="org.apache.ignite.configuration.DataRegionConfiguration">
<property name="initialSize"
value="#{1L * 1024 * 1024 * 1024}"/>
<property name="maxSize" value="#{1L *
1024 * 1024 * 1024}"/>
<property name="persistenceEnabled"
value="true"/>
</bean>
</property>
<property name="pageSize" value="#{4 * 1024}"/>
</bean>
</property>
<property name="cacheConfiguration">
<list>
<bean
class="org.apache.ignite.configuration.CacheConfiguration">
<property name="name" value="vds"/>
<property name="cacheMode" value="PARTITIONED"/>
<property name="atomicityMode"
value="TRANSACTIONAL"/>
<property name="backups" value="1"/>
<property name="writeSynchronizationMode"
value="PRIMARY_SYNC"/>
<property name="onheapCacheEnabled"
value="false"/>
</bean>
</list>
</property>
</bean>
and, at some point during a transaction of ~1GB, I get this error:
[15:01:23,559][SEVERE][client-connector-#134][] JVM will be halted
immediately due to the failure: [failureCtx=FailureContext
[type=CRITICAL_ERROR, err=class o.a.i.i.mem.IgniteOutOfMemoryException: Out
of memory in data region [name=default, initSize=1.0 GiB, maxSize=1.0 GiB,
*persistenceEnabled=true*] Try the following:
^-- Increase maximum off-heap memory size
(DataRegionConfiguration.maxSize)
^-- *Enable Ignite persistence*
(DataRegionConfiguration.persistenceEnabled)
^-- Enable eviction or expiration policies]]
Maybe the off-heap memory must be, at least, as large as the transaction we
want to commit?
Thanks in advance!
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/