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 081FA200D41 for ; Wed, 8 Nov 2017 06:33:15 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 067A6160BED; Wed, 8 Nov 2017 05:33:15 +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 4CCEC160C00 for ; Wed, 8 Nov 2017 06:33:14 +0100 (CET) Received: (qmail 8556 invoked by uid 500); 8 Nov 2017 05:33:13 -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 8199 invoked by uid 99); 8 Nov 2017 05:33:12 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2017 05:33:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 273B1CF0E2 for ; Wed, 8 Nov 2017 05:33:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.172 X-Spam-Level: ** X-Spam-Status: No, score=2.172 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id s_XPT5Gf8hIq for ; Wed, 8 Nov 2017 05:33:11 +0000 (UTC) Received: from n6.nabble.com (n6.nabble.com [162.255.23.37]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id EF31762710 for ; Wed, 8 Nov 2017 05:32:00 +0000 (UTC) Received: from n6.nabble.com (localhost [127.0.0.1]) by n6.nabble.com (Postfix) with ESMTP id 7AC462BC3881 for ; Tue, 7 Nov 2017 22:32:00 -0700 (MST) Date: Tue, 7 Nov 2017 22:32:00 -0700 (MST) From: "naresh.goty" To: user@ignite.apache.org Message-ID: <1510119120500-0.post@n6.nabble.com> Subject: Question on On-Heap Caching MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Wed, 08 Nov 2017 05:33:15 -0000 Hi All, We enabled on-heap caching for our application, as per documentation. The only change required is to set OnheapCacheEnabled property of CacheConfiguration. Once we made this change, and started up our application, ignite metrics still shows onheap and offheap memory. Note: we are using ignite v2.3 Metrics for local node (to disable set 'metricsLogFrequency' to 0) ^-- Node [id=0223cd4a, name=delivery, uptime=00:01:00.174] ^-- H/N/C [hosts=1, nodes=1, CPUs=8] ^-- CPU [cur=2.63%, avg=13.84%, GC=0.03%] ^-- PageMemory [pages=111265] ^-- Heap [used=468MB, free=75.98%, comm=1948MB] ^-- Non heap [used=139MB, free=-1%, comm=143MB] ^-- Public thread pool [active=0, idle=0, qSize=0] ^-- System thread pool [active=0, idle=8, qSize=0] ^-- Outbound messages queue [size=0] 1) Does ignite still has off-heap memory even if onheapCacheEnabled is true? 2) How to ensure onheapCachedEnabled is honored? 3) Do we need to do any other configuration changes? Regards, Naresh -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/