In addition to what Yakov suggested, I think you might also consider putting all objects into the same cache and have one eviction policy for it.
D. On Tue, Oct 6, 2015 at 9:08 PM, levaly <[email protected]> wrote: > 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. >
