Hello,

Yep, it is expected behavior. You are using on-heap eviction policy and so,
this policy removes the cache entries from Java heap only. The entries
stored in the off-heap region of the memory are not affected.
You can find a comprehensive description here:
https://apacheignite.readme.io/docs/evictions#section-java-heap-cache

Thanks.


чт, 19 июл. 2018 г. в 11:12, monstereo <[email protected]>:

> Here is the my lru configuration
>
> ...
> ccfg.setOnheapCacheEnabled(true);
> ccfg.setEvictionPolicyFactory(new LruEvictionPolicyFactory<Integer,
> Person>(2));
> ...
>
> When I want to load 3 datas to cache, ignite console shows me
> <
> http://apache-ignite-users.70518.x6.nabble.com/file/t1901/ignite-forum-1.png>
>
>
> 2 on heap and 3 off heap
>
> why it is 2 on heap 1 off heap? Is it ignite features?
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to