Matt, You can configure FileSystemConfiguration#dataCacheConfiguration <https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/FileSystemConfiguration.html#setDataCacheConfiguration-org.apache.ignite.configuration.CacheConfiguration-> and specify a persisted data region for this cache. XML configuration may look as follows:
<property name="fileSystemConfiguration"> <list> <bean class="org.apache.ignite.configuration.FileSystemConfiguration"> <property name="name" value="igfs"/> <property name="dataCacheConfiguration"> <bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="dataRegionName" value="igfsDataRegion"/> </bean> </property> </bean> </list> </property> <property name="dataStorageConfiguration"> <bean class="org.apache.ignite.configuration.DataStorageConfiguration"> <property name="dataRegionConfigurations"> <list> <bean class="org.apache.ignite.configuration.DataRegionConfiguration"> <property name="name" value="igfsDataRegion"/> <property name="maxSize" value="#{1024L * 1024 * 1024}"/> <property name="persistenceEnabled" value="true"/> </bean> </list> </property> </bean> </property> Denis сб, 30 июн. 2018 г. в 7:33, matt <goodie...@gmail.com>: > Is it possible to have the IGFS component write to disk once heap/off-heap > consumption hits a certain threshold? I have a custom cache store for one > component of the app, but a different component requires temporary storage > of raw data; we're using igfs for this, but what happens if the file size > is > much larger than the available RAM? Can igfs be configured to use the > (relatively new) native "DataStorage" feature to spillover from RAM to > disk, > but then also have a specific cache use a custom store? > > Thanks > - Matt > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >