Re: Native Persistence Tuning - Percentage kept in RAM

2021-06-02 Thread Raymond Wilson
We encountered the same issue with a small data region (64Mb in our case). If I recall correctly the failure was due to the checkpointing mechanism not having enough pages to perform a checkpoint, rather than a critical failure on a Put(). Adding more memory increases the number of pages (or you ca

Re: Native Persistence Tuning - Percentage kept in RAM

2021-06-02 Thread Stephen Darlington
Your data region is too small. Ignite is an in-memory data grid, it’s not really designed to work with as little as 40Mb of memory. When I tried it on my machine, I get the following message: [17:42:09,246][SEVERE][checkpoint-runner-cpu-#80][] JVM will be halted immediately due to the failure:

Re: Native Persistence Tuning - Percentage kept in RAM

2021-06-02 Thread gigabot
Hi I tried setting the MaxSize on a cache to a low number (40Mb) and it quickly ran in to an IgniteOutOfMemoryException, despite the fact there was plenty of space on disk. Why would it run out of RAM if it can persist data above the MaxSize the excess to disk? -- Sent from: http://apache-ignite

Re: Native Persistence Tuning - Percentage kept in RAM

2021-06-02 Thread Stephen Darlington
That’s how you do what you’re asking. MaxSize is the maximum size of the off-heap memory used. > On 2 Jun 2021, at 16:34, gigabot wrote: > > Hi Stephen, I know how to configure separate data regions, but how do I > configure what % of each is in RAM vs disk? > > > > -- > Sent from: http://ap

Re: Native Persistence Tuning - Percentage kept in RAM

2021-06-02 Thread gigabot
Hi Stephen, I know how to configure separate data regions, but how do I configure what % of each is in RAM vs disk? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Native Persistence Tuning - Percentage kept in RAM

2021-06-02 Thread Stephen Darlington
Configure two different data regions: one for your “mostly in memory” cache; another for your “mostly on disk” cache. > On 2 Jun 2021, at 16:24, gigabot wrote: > > > When using native persistence, can I configure what percentage or amount f > data is kept in RAM? I have two caches, one I want