Hi,

Yes, you're correct, there is a mistake in the documentation, according to
the example a data region max size will be 5Gb not 500Mb.

Also you can use Native Persistence for your case:
https://www.gridgain.com/docs/latest/developers-guide/persistence/native-persistence

You can specify data region with maxSize=1Gb and enabled persistence then
your data will be stored on disk and GridGain will keep up to 1Gb of the
"hot" data in the RAM.

Igor

On Fri, Mar 12, 2021 at 3:05 PM Martin Lund Askøe <martinlundas...@gmail.com>
wrote:

> Hi
>
> If I have an ignite node running on a machine with 16GB of physical memory
> and I want to create a data-region that may hold 5GB of data but only
> consume 1GB of memory on the off-heap, then how do I configure my cluster
> node to use swap when exceeding 1GB off-heap memory?
>
> I'm trying to get my head around this example from GridGain <a href="
> https://www.gridgain.com/docs/latest/developers-guide/persistence/swap";>
> https://www.gridgain.com/docs/latest/developers-guide/persistence/swap</a>
>
> Where is the 500MB specified (besides in the name)?
> It seems to me that the size of the data-region is set to 5GB and not
> 500MB?
>

Reply via email to