You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Pavel Tupitsyn <pt...@apache.org> on 2019/11/21 13:57:18 UTC

Re: how to config On-Heap Caching by xml files?

>  Data in Ignite is *always* stored off-heap
On-heap caching is possible with Near Caches:
https://apacheignite.readme.io/docs/near-caches

On Thu, Nov 21, 2019 at 4:39 PM Stephen Darlington <
stephen.darlington@gridgain.com> wrote:

> What do you mean by “doesn’t work”?
>
> The on-heap cache is, effectively, a cache of a cache. Data in Ignite is
> *always* stored off-heap. That setting creates another copy of the data
> on-heap.
>
> Regards,
> Stephen
>
> On 21 Nov 2019, at 13:34, ?青春狂-^ <yu...@qq.com> wrote:
>
> hi:
> I want know how to config  On-Heap Caching by xml,
> i have config onheapCacheEnabled = true, but  i found it doesn’t work
> currectly,throw the  ignitevisitor.sh tools, only i can see off-heap infos.
>
>
>
>

Re: how to config On-Heap Caching by xml files?

Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!

Onheap is also obviously availabye by doing onheapCacheEnabled=true (and
preferably copyOnRead=false if you're ready to be careful to never modify
these objects).

Regards,
-- 
Ilya Kasnacheev


чт, 21 нояб. 2019 г. в 16:57, Pavel Tupitsyn <pt...@apache.org>:

> >  Data in Ignite is *always* stored off-heap
> On-heap caching is possible with Near Caches:
> https://apacheignite.readme.io/docs/near-caches
>
> On Thu, Nov 21, 2019 at 4:39 PM Stephen Darlington <
> stephen.darlington@gridgain.com> wrote:
>
>> What do you mean by “doesn’t work”?
>>
>> The on-heap cache is, effectively, a cache of a cache. Data in Ignite is
>> *always* stored off-heap. That setting creates another copy of the data
>> on-heap.
>>
>> Regards,
>> Stephen
>>
>> On 21 Nov 2019, at 13:34, ?青春狂-^ <yu...@qq.com> wrote:
>>
>> hi:
>> I want know how to config  On-Heap Caching by xml,
>> i have config onheapCacheEnabled = true, but  i found it doesn’t work
>> currectly,throw the  ignitevisitor.sh tools, only i can see off-heap infos.
>>
>>
>>
>>