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 95609200C62 for ; Wed, 26 Apr 2017 16:42:36 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 940A6160BA8; Wed, 26 Apr 2017 14:42:36 +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 D89F0160B95 for ; Wed, 26 Apr 2017 16:42:35 +0200 (CEST) Received: (qmail 85013 invoked by uid 500); 26 Apr 2017 14:42:35 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 85001 invoked by uid 99); 26 Apr 2017 14:42:35 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Apr 2017 14:42:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 99DA8183991 for ; Wed, 26 Apr 2017 14:42:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id IscGAc9k0iWJ for ; Wed, 26 Apr 2017 14:42:33 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 41D0964024 for ; Wed, 26 Apr 2017 14:23:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 2A025E0BB3 for ; Wed, 26 Apr 2017 14:23:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7AA0A21DEB for ; Wed, 26 Apr 2017 14:23:04 +0000 (UTC) Date: Wed, 26 Apr 2017 14:23:04 +0000 (UTC) From: "Alexei Scherbakov (JIRA)" To: dev@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-5093) Better heap usage during exchange on large topologies and cache numbers/partitions. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 26 Apr 2017 14:42:36 -0000 Alexei Scherbakov created IGNITE-5093: ----------------------------------------- Summary: Better heap usage during exchange on large topologies and cache numbers/partitions. Key: IGNITE-5093 URL: https://issues.apache.org/jira/browse/IGNITE-5093 Project: Ignite Issue Type: Improvement Components: general Affects Versions: 1.6 Reporter: Alexei Scherbakov Assignee: Alexei Scherbakov Fix For: 2.1 I observed huge heap occupation during exchange on large grid installation including 136 nodes/1k caches. Example from machine with 64g heap: {noformat} num #instances #bytes class name ---------------------------------------------- 1: 897287977 43069822896 java.util.HashMap$Node 2: 9273162 14866180592 [Ljava.util.HashMap$Node; 3: 201282292 4830775008 java.lang.Integer 4: 6247215 983811096 [Ljava.lang.Object; 5: 3383402 767741664 [C 6: 12188 669411952 [B 7: 9923859 635126976 java.util.HashMap ... {noformat} Further investigation had showed the heap is polluted during exchange process, which involves creating many hashmaps occupying large amounts of memory. Proposal: use other datastructures to help keep heap usage low. -- This message was sent by Atlassian JIRA (v6.3.15#6346)