Re: Ignite 2.3 Swap Path configuration is causing issue

2018-01-15 Thread Alexey Goncharuk
Hi, Just to reiterate and clarify the behavior. Region maxSize defines the total maxSize of the region, you will get OOME if your data size exceeds the maxSize. However, when using swap, you can set maxSize _bigger_ than RAM size, in this case, the OS will take care of the swapping. 2017-12-21 11

Re: Ignite 2.3 Swap Path configuration is causing issue

2017-12-21 Thread Alexey Kukushkin
You will get OutOfMemory error if data does not fit into data region. Configure an eviction policy or persistence to avoid that.

Re: Ignite 2.3 Swap Path configuration is causing issue

2017-12-20 Thread Denis Magda
Yes. Read more here: https://apacheignite.readme.io/docs/memory-configuration#section-data-regions — Denis > On Dec 20, 2017, at 8:24 PM, Tejashwa Kumar Verma > wrote: > > Oh thanks Alexey, So if we are using ig

Re: Ignite 2.3 Swap Path configuration is causing issue

2017-12-20 Thread Tejashwa Kumar Verma
Oh thanks Alexey, So if we are using ignite V2.X without enabling persistence and if data is spilling over the MaxSize. Then where will that data go ? On Thu, Dec 21, 2017 at 1:19 AM, Alexey Kukushkin wrote: > Swapping feature was removed in Ignite v.2 since native persistence was > introduced.

Re: Ignite 2.3 Swap Path configuration is causing issue

2017-12-20 Thread Alexey Kukushkin
Swapping feature was removed in Ignite v.2 since native persistence was introduced. Use native persistence to "extend" memory.

Re: Ignite 2.3 Swap Path configuration is causing issue

2017-12-20 Thread Tejashwa Kumar Verma
Hi Alexey, Thanks for quick reply. Since you are suggesting that SwapPath is not about swap files used by operating systems to extend RAM. Please suggest me the way in 2.3 to configure swapfiles to extend RAM Thanks & Regards Tejas On 20 Dec 2017 9:29 pm, "Alexey Kukushkin" wrote: > My under

Re: Ignite 2.3 Swap Path configuration is causing issue

2017-12-20 Thread Alexey Kukushkin
My understanding is specifying a swapPath makes data region allocated in a memory mapped file. Otherwise the data region is stored in off-heap RAM. swapPath is not about swap files used by operating systems to extend RAM. According to my understanding the behaviour you described is correct.

Ignite 2.3 Swap Path configuration is causing issue

2017-12-20 Thread Tejashwa Kumar Verma
Hi All, We are migrating from 1.9 to 2.3 and we are configuring Data regions for Cache with '*swapPath*' configuration as below. < property name="initialSize" value="#{100L * 1024 * 1024}" /> ** Now as per configs, first data (< = 5GB) should go in RAM and once it starts spilling ov