ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raymond Wilson <raymond_wil...@trimble.com>
Subject Re: Out of memory error in data region with persistence enabled
Date Tue, 03 Mar 2020 00:31:17 GMT
It's possible this is user (me) error.

I discovered I had set the cache size to be 64Mb in the server, but 65Mb
(typo!) in the client. Making these two values consistent appeared to
prevent the error.


On Tue, Mar 3, 2020 at 12:58 PM Raymond Wilson <raymond_wilson@trimble.com>

> I'm using Ignite v2.7.5 with C# client.
> I have an error where Ignite throws an out of memory exception, like this:
> 2020-03-03 12:02:58,036 [287] ERR [MutableCacheComputeServer] JVM will be
> halted immediately due to the failure: [failureCtx=FailureContext
> [type=CRITICAL_ERROR, err=class o.a.i.i.mem.IgniteOutOfMemoryException: Out
> of memory in data region [name=TAGFileBufferQueue, initSize=64.0 MiB,
> maxSize=64.0 MiB, persistenceEnabled=true] Try the following:
>   ^-- Increase maximum off-heap memory size
> (DataRegionConfiguration.maxSize)
>   ^-- Enable Ignite persistence
> (DataRegionConfiguration.persistenceEnabled)
>   ^-- Enable eviction or expiration policies]]
> I don't have an eviction policy set (is this even a valid recommendation
> when using persistence?)
> Increasing the off heap memory size for the data region does prevent this
> error, but I want to minimise the in-memory size for this buffer as it is
> essentially just a queue.
> The suggestion of enabling data persistence is strange as this data region
> has already persistence enabled for it.
> My assumption is that Ignite manages the memory in this cache by saving
> and loading values as required.
> The test workflow in this failure is one where ~14,500 objects totalling
> ~440 Mb in size (avery object size = ~30Kb) are added to the cache, and are
> then drained by a processors using a continuous query. Elements are removed
> from the cache as the processor completes them.
> Is this kind of out of memory error supposed to be possible when using
> persistent data regions?
> Thanks,
> Raymond.

View raw message