Hi,

You can't disable off-heap storage since version 2.0. However, you can use
additional onHeap cache for the values stored in offheap using
CacheConfiguration.onHeapCacheEnabled:
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/CacheConfiguration.html#isOnheapCacheEnabled--

Evgenii

2018-05-23 18:06 GMT+03:00 breischl <[email protected]>:

> I'm working on a project where we're using Ignite primarily as a cache for
> large & complex objects that we need in their entirety. Based on reading
> elsewhere it seems like our performance would be best if we didn't use
> off-heap storage at all. To that end, would it make sense (or even work)
> for
> me to effectively disable off-heap sotrage by setting the default
> DataRegion
> to a zero size? Something roughly like the following:
>
> <property name="dataStorageConfiguration">
>   <bean class="org.apache.ignite.configuration.DataStorageConfiguration">
>
>     <property name="defaultDataRegionConfiguration">
>       <bean class="org.apache.ignite.configuration.
> DataRegionConfiguration">
>         <property name="name" value="Default_Region"/>
>
>
>         <property name="maxSize" value="0"/>
>
>       </bean>
>     </property>
>   </bean>
> </property>
>
> Thanks!
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to