Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 906F6200CD3 for ; Fri, 28 Jul 2017 09:17:51 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BD89B16C4BA; Fri, 28 Jul 2017 07:17:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 11B3C16C4B9 for ; Fri, 28 Jul 2017 09:17:45 +0200 (CEST) Received: (qmail 91212 invoked by uid 500); 28 Jul 2017 07:17: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 91203 invoked by uid 99); 28 Jul 2017 07:17: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; Fri, 28 Jul 2017 07:17:44 +0000 Received: from mail-yw0-f180.google.com (mail-yw0-f180.google.com [209.85.161.180]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 386D41A0321 for ; Fri, 28 Jul 2017 07:17:43 +0000 (UTC) Received: by mail-yw0-f180.google.com with SMTP id l82so60909775ywc.2 for ; Fri, 28 Jul 2017 00:17:43 -0700 (PDT) X-Gm-Message-State: AIVw111idM2B52M5lh9lxMwRBiVP8r7+ieGWedDbWYm7pfLVAMUz1JWg vqkGR5g+PTQqWPa0FBDMXQ3W1965bmbv X-Received: by 10.129.95.84 with SMTP id t81mr5666201ywb.140.1501226262030; Fri, 28 Jul 2017 00:17:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.249.133 with HTTP; Fri, 28 Jul 2017 00:17:41 -0700 (PDT) In-Reply-To: References: From: Nikolai Tikhonov Date: Fri, 28 Jul 2017 10:17:41 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Ignite Xmx configuration To: user@ignite.apache.org Content-Type: multipart/alternative; boundary="001a1147f82e138d9505555b7ad2" archived-at: Fri, 28 Jul 2017 07:17:51 -0000 --001a1147f82e138d9505555b7ad2 Content-Type: text/plain; charset="UTF-8" Hi! If you used off-heap cache then entry is not stored in heap memory. Hence Xmx is not related with cache size. You need to choose Xmx/Xms based on your application requirements (how many object will be created by your code). I guess that 2-4 Gb will be enough in your case. On Fri, Jul 28, 2017 at 9:59 AM, Anil wrote: > Hi Team, > > I have two off-heap caches with 4 gb size (per cache) in my ignite node. > > What would be the Xmx setting for ignite node ? > > is it 2 * 4 + heap required ? or Xmx is not related to any of the cache > size ? please clarify. thanks. > > > Regards > Anil > > > --001a1147f82e138d9505555b7ad2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi!

If you used off-heap cache then ent= ry is not stored in heap memory. Hence Xmx is not related with cache size.= =C2=A0You need to choose Xmx/Xms based on your application requirements (ho= w many object will be created by your code). I guess that 2-4 Gb will be en= ough in your case.=C2=A0

On Fri, Jul 28, 2017 at 9:59 AM, Anil = <anilklce@gmail.= com> wrote:
Hi Team,

I have two off-heap caches with 4 gb size (pe= r cache) =C2=A0in my ignite node.

What would be th= e Xmx setting for ignite node ?

is it =C2=A02 * 4 = + heap required ? or Xmx is not related to any of the cache size ? please c= larify. thanks.


Regards
Anil



--001a1147f82e138d9505555b7ad2--