-xml配置默认数据区大小(堆外内存,占用服务器内存)
<!--默认数据区配置,用于堆外存储数据--> <property name="dataStorageConfiguration"> <bean class="org.apache.ignite.configuration.DataStorageConfiguration"> <!-- Default memory region that grows endlessly. Any cache will be bound to this memory region unless another region is set in the cache's configuration. --> <property name="defaultDataRegionConfiguration"> <bean class="org.apache.ignite.configuration.DataRegionConfiguration"> <property name="name" value="Default_Region"/> <!-- 100 MB memory region with disabled eviction. --> <property name="initialSize" value="#{1L * 1024 * 1024 * 1024}"/> <property name="maxSize" value="#{1L * 1024 * 1024 * 1024}"/> </bean> </property> </bean> </property>
标签:ignite,xml,堆外,占用,默认,内存,服务器 From: https://www.cnblogs.com/yangh2016/p/17122587.html