Return-Path: X-Original-To: apmail-ignite-user-archive@minotaur.apache.org Delivered-To: apmail-ignite-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B7D117602 for ; Wed, 7 Oct 2015 10:58:45 +0000 (UTC) Received: (qmail 98043 invoked by uid 500); 7 Oct 2015 10:58:45 -0000 Delivered-To: apmail-ignite-user-archive@ignite.apache.org Received: (qmail 98002 invoked by uid 500); 7 Oct 2015 10:58:44 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 97991 invoked by uid 99); 7 Oct 2015 10:58:44 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Oct 2015 10:58:44 +0000 Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com [209.85.217.178]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 2E4EC1A006D for ; Wed, 7 Oct 2015 10:58:44 +0000 (UTC) Received: by lbwr8 with SMTP id r8so7529581lbw.2 for ; Wed, 07 Oct 2015 03:58:42 -0700 (PDT) X-Gm-Message-State: ALoCoQlEMdOD0wfxY0N8RXofR3wVo3at8iyrFE/FZUwvr7enT+iSyVvQtdUufHOQ/NCOBmBy++9L MIME-Version: 1.0 X-Received: by 10.25.19.21 with SMTP id j21mr145644lfi.106.1444215522776; Wed, 07 Oct 2015 03:58:42 -0700 (PDT) Received: by 10.114.23.66 with HTTP; Wed, 7 Oct 2015 03:58:42 -0700 (PDT) In-Reply-To: <1444190901686-1562.post@n6.nabble.com> References: <1444190901686-1562.post@n6.nabble.com> Date: Wed, 7 Oct 2015 13:58:42 +0300 Message-ID: Subject: Re: DataGrid Max Memory From: Yakov Zhdanov To: user@ignite.apache.org Content-Type: multipart/alternative; boundary=001a114067d436f41d052181a113 --001a114067d436f41d052181a113 Content-Type: text/plain; charset=UTF-8 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 : > 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: > > > > 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. > --001a114067d436f41d052181a113 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It seems you will need your own implementation accounting = the total amount of memory occupied by all your data and defining the consi= stent order for caches (from which ones begin evictions from).

=
Thanks!

=
--Yakov

2015-10-07 7:08 GMT+03:00 levaly <fatm= ancorp@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 multipl= e
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=3D"name" value=3D"cache_*"/>
<property name=3D"cacheMode" value=3D"REPLICATED"/&g= t;

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.

--001a114067d436f41d052181a113--