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: [failureCtx=FailureContext [type=CRITICAL_ERROR, err=class o.a.i.i.mem.IgniteOutOfMemoryException: Failed to find a page for eviction [segmentCapacity=1580, loaded=620, maxDirtyPages=465, dirtyPages=620, cpPages=0, pinnedInSegment=0, failedToPrepare=620] Out of memory in data region [name=default, initSize=20.0 MiB, maxSize=20.0 MiB, persistenceEnabled=true] Try the following: ^-- Increase maximum off-heap memory size (DataRegionConfiguration.maxSize) Basically, it’s writing to the cluster faster than it can write the changes to disk. As it says, increase the amount of off-heap memory. If you’re getting the same error, you might be able to get it to work by feeding the data in more slowly. > On 2 Jun 2021, at 16:44, gigabot <mwiesenb...@gmail.com> wrote: > > 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-users.70518.x6.nabble.com/