From issues-return-97643-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Tue Aug 6 15:11:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 06114180181 for ; Tue, 6 Aug 2019 17:11:01 +0200 (CEST) Received: (qmail 8497 invoked by uid 500); 6 Aug 2019 15:11:01 -0000 Mailing-List: contact issues-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 issues@ignite.apache.org Received: (qmail 8474 invoked by uid 99); 6 Aug 2019 15:11:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Aug 2019 15:11:01 +0000 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 C121FE041B for ; Tue, 6 Aug 2019 15:11:00 +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 7D0C32665E for ; Tue, 6 Aug 2019 15:11:00 +0000 (UTC) Date: Tue, 6 Aug 2019 15:11:00 +0000 (UTC) From: "Vyacheslav Koptilin (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-12042) Atempt to remove entries from fully populated data region may result in IgineOutOfMemoryException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-12042?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 901152#comment-16901152 ]=20 Vyacheslav Koptilin commented on IGNITE-12042: ---------------------------------------------- [~xtern] =C2=A0 >=C2=A0Or am I missing something? Yep, we are calculating total pages.=C2=A0To be more precise: {{datarowPages}} =3D {{datarow.size() / pageMem.systemPageSize()}} {{linkPages + nonEmptyPages=C2=A0}}=3D {{nonEmptyPages * (8.0 / pageMem.pag= eSize() + *1*)}} {{additionalPages}} =3D 256 // one page per bucket So, *totalPages*=C2=A0<=C2=A0 {{datarowPages + linkPages + nonEmptyPages + addi= tionalPages}} {{>=C2=A0AFAIK each data page has overhead }} {{> (see AbstractDataPageIO.MIN_DATA_PAGE_OVERHEAD, fragmented data row req= uired 8 bytes more on each page)}} {{> therefore, these calculations for data row are very approximate.}} That is the reason why we have the multiplier - 1.5 > Atempt to remove entries from fully populated data region may result in I= gineOutOfMemoryException > -------------------------------------------------------------------------= ------------------------ > > Key: IGNITE-12042 > URL: https://issues.apache.org/jira/browse/IGNITE-12042 > Project: Ignite > Issue Type: Bug > Affects Versions: 2.7 > Reporter: Vyacheslav Koptilin > Assignee: Vyacheslav Koptilin > Priority: Major > Fix For: 2.8 > > Time Spent: 10m > Remaining Estimate: 0h > > Removing entries from non-persistent data region may require allocating a= new data page in order to move a tracked page from one bucket of the free-= list to another one. -- This message was sent by Atlassian JIRA (v7.6.14#76016)