Megha,

>  Or is it required to give 1 GB to off heap
> memory region with no relation how much I allocate to on-heap. 

That’s the correct point.

All the data is stored in off-heap by default. If you give 500 MB to the 
off-heap then you’ll get out of memory exception once you go beyond that 
boundary. Java heap is no longer treated as a data storage and might be used as 
an extra caching layer for entries you have in the off-heap.

—
Denis

> On Jun 12, 2017, at 1:03 AM, Megha Mittal <[email protected]> wrote:
> 
> Hi Denis,
> 
> Thanks for your reply. The video was helpful. But I am still not clear on
> the fact that if I have 1 GB data, with onHeapCaching enabled if I give my
> off heap memory region a maximum size of 500 MB and 1 GB to my heap, then
> will this configuration work. Or is it required to give 1 GB to off heap
> memory region with no relation how much I allocate to on-heap. 
> 
> 
> 
> --
> View this message in context: 
> http://apache-ignite-users.70518.x6.nabble.com/Off-Heap-On-Heap-in-Ignite-2-0-0-tp13548p13617.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to