From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 12D579D for ; Wed, 14 Oct 2015 07:22:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from janik.cz (h.janik.cz [79.98.78.37]) by smtp1.linuxfoundation.org (Postfix) with ESMTP id 50C52A1 for ; Wed, 14 Oct 2015 07:22:44 +0000 (UTC) Received: from [10.0.0.100] (unknown [10.0.0.100]) by janik.cz (Server) with ESMTP id 903CD34E2F5; Wed, 14 Oct 2015 09:22:52 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) From: =?utf-8?Q?Pavel_Jan=C3=ADk?= In-Reply-To: <99C42DE7-814A-48F8-AB28-A5ADD77A9FD9@toom.im> Date: Wed, 14 Oct 2015 09:22:41 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <8F8ADC9B-BF4E-45E2-B96F-A9D040D0460C@Janik.cz> References: <99C42DE7-814A-48F8-AB28-A5ADD77A9FD9@toom.im> To: "Jonathan Toomim (Toomim Bros)" X-Mailer: Apple Mail (2.2104) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Cc: Bitcoin development mailing list Subject: Re: [bitcoin-dev] Memory leaks? X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Development Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2015 07:22:46 -0000 > I just noticed that several of my running bitcoind processes were = using around 3+ GB of RAM, even though the mempool itself seemed to be = under control. >=20 > XXXX@prime:~/bin$ ./bitcoin-cli getmempoolinfo > { > "size" : 1896, > "bytes" : 37341328 > } >=20 > [total memory usage not shown -- I restarted bitcoind as soon as I = noticed, and didn't copy it down from top] The newer versions contain much more accurate reporting of memorypool = usage that reflect the real memory usage: { "size": 58536, "bytes": 770044257, "usage": 1652554832 } See PR #6410 (Implement accurate memory accounting for mempool). -- =20 Pavel Jan=C3=ADk