summaryrefslogtreecommitdiff
path: root/00/21f71684adb16bd583549a2e9501d89c79d8ab
blob: 2511330494bb4090b782d4b4ccf65bec54e00424 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Return-Path: <Pavel@Janik.cz>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 12D579D
	for <bitcoin-dev@lists.linuxfoundation.org>;
	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 <bitcoin-dev@lists.linuxfoundation.org>;
	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?= <Pavel@Janik.cz>
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)" <j@toom.im>
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 <bitcoin-dev@lists.linuxfoundation.org>
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 <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=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