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 EAE5F200C49 for ; Fri, 17 Mar 2017 16:37:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E9286160B80; Fri, 17 Mar 2017 15:37:04 +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 3C040160B6D for ; Fri, 17 Mar 2017 16:37:04 +0100 (CET) Received: (qmail 2528 invoked by uid 500); 17 Mar 2017 15:36:58 -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 2519 invoked by uid 99); 17 Mar 2017 15:36:58 -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, 17 Mar 2017 15:36:58 +0000 Received: from mail-ot0-f175.google.com (mail-ot0-f175.google.com [74.125.82.175]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 36F861A0193 for ; Fri, 17 Mar 2017 15:36:58 +0000 (UTC) Received: by mail-ot0-f175.google.com with SMTP id x37so95410535ota.2 for ; Fri, 17 Mar 2017 08:36:58 -0700 (PDT) X-Gm-Message-State: AFeK/H0S//DGkx0yvn/iaUo4ZIX84kErcOhfMdn9JZbpwsq3oEq/MGN2pSEfpQJ1jS/ymybKDYH8K9HiRmCmCxPN X-Received: by 10.107.159.69 with SMTP id i66mr14842149ioe.143.1489765017413; Fri, 17 Mar 2017 08:36:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.36.202 with HTTP; Fri, 17 Mar 2017 08:36:57 -0700 (PDT) In-Reply-To: <1489763845901-11285.post@n6.nabble.com> References: <1489696124205-11252.post@n6.nabble.com> <1489763845901-11285.post@n6.nabble.com> From: Nikolai Tikhonov Date: Fri, 17 Mar 2017 18:36:57 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: destroy and offheap memory To: user@ignite.apache.org Content-Type: multipart/alternative; boundary=001a1141c6dea9a9f0054aeef2b4 archived-at: Fri, 17 Mar 2017 15:37:05 -0000 --001a1141c6dea9a9f0054aeef2b4 Content-Type: text/plain; charset=UTF-8 Could you show this behaviour on example? Which utils did you use for analyzing virtual memory state? How many time passed beetwen 4 and 5 steps? On Fri, Mar 17, 2017 at 6:17 PM, lawrencefinn wrote: > That's fair but why doesn't the process's memory go down by what I expect? > Scenario: > 1. Measure memory of process (A) > 2. Load offheap cache > 3. Measure memory of process (B) > 4. Destroy cache > 5. Measure memory of process(C) > > I would assume that C=A, that is the memory should return back to the > original state. But this is not what happens. The heap used and committed > stays pretty constant throughout this process. Any thoughts? > > > > -- > View this message in context: http://apache-ignite-users. > 70518.x6.nabble.com/destroy-and-offheap-memory-tp11252p11285.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > --001a1141c6dea9a9f0054aeef2b4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Could you show this behaviour on example? Which utils did = you use for analyzing virtual memory state? How many time passed beetwen 4 = and 5 steps?

On Fri, Mar 17, 2017 at 6:17 PM, lawrencefinn <larryf@gmail.com> wrote:
That's fair but why doesn= 't the process's memory go down by what I expect?
Scenario:
1.=C2=A0 Measure memory of process (A)
2.=C2=A0 Load offheap cache
3.=C2=A0 Measure memory of process (B)
4.=C2=A0 Destroy cache
5.=C2=A0 Measure memory of process(C)

I would assume that C=3DA, that is the memory should return back to the
original state.=C2=A0 But this is not what happens.=C2=A0 The heap used and= committed
stays pretty constant throughout this process.=C2=A0 Any thoughts?



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/d= estroy-and-offheap-memory-tp11252p11285.html
Sent from the Apache Ignite Users m= ailing list archive at Nabble.com.

--001a1141c6dea9a9f0054aeef2b4--