ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yakov Zhdanov <yzhda...@apache.org>
Subject Re: DataGrid Max Memory
Date Wed, 07 Oct 2015 10:58:42 GMT
It seems you will need your own implementation accounting the total amount
of memory occupied by all your data and defining the consistent order for
caches (from which ones begin evictions from).

Thanks!

--Yakov

2015-10-07 7:08 GMT+03:00 levaly <fatmancorp@gmail.com>:

> Hi,
>
> I have unlimited amount of cache entries, and I wish to store the most used
> in memory together with LRU eviction policy. Problem is that I have
> multiple
> cache configurations, and I want the memory limit to be on all of them
> together, rather than on each one separately. Is there a way to configure
> this?
>
> Also, what will happen if I don't use an eviction policy and my memory will
> run out?
>
> I use a wildcard naming for cache configuration together with replicated
> cache:
> <property name="name" value="cache_*"/>
> <property name="cacheMode" value="REPLICATED"/>
>
> Thanks!
>
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/DataGrid-Max-Memory-tp1562.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>

Mime
View raw message