Return-Path: <j@toom.im>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 339B2307
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Wed, 14 Oct 2015 00:09:01 +0000 (UTC)
X-Greylist: from auto-whitelisted by SQLgrey-1.7.6
Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id CE22211A
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Wed, 14 Oct 2015 00:09:00 +0000 (UTC)
Received: from [192.168.1.190] (63.135.62.197.nwinternet.com [63.135.62.197]
	(may be forged)) (authenticated bits=0)
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id t9E08uSQ008092
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);
	Tue, 13 Oct 2015 17:08:57 -0700
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Content-Type: multipart/signed;
	boundary="Apple-Mail=_A2D3450F-4949-4940-ABA7-7231262C045D";
	protocol="application/pgp-signature"; micalg=pgp-sha512
X-Pgp-Agent: GPGMail 2.5.2
From: "Jonathan Toomim (Toomim Bros)" <j@toom.im>
In-Reply-To: <CAGLBAhdmW6yabrOTFW90jCc9rgH0KapTJFcu2jYLFW6cYdvW_g@mail.gmail.com>
Date: Tue, 13 Oct 2015 17:08:56 -0700
Message-Id: <B7CB8C10-4885-400C-9E65-A11846BB84C2@toom.im>
References: <99C42DE7-814A-48F8-AB28-A5ADD77A9FD9@toom.im>
	<561D8A81.2020109@riseup.net>
	<468C1911-C504-4622-BCC8-FF0AAB17E874@toom.im>
	<CAGLBAhdmW6yabrOTFW90jCc9rgH0KapTJFcu2jYLFW6cYdvW_g@mail.gmail.com>
To: Dave Scotese <dscotese@litmocracy.com>
X-Mailer: Apple Mail (2.1878.6)
X-Sonic-CAuth: UmFuZG9tSVa+/jhKw8pkJ9S8UawNheRt8N91FHlSwh0m5ZihCtMyfgl1jxdf6dWdy+pOrOlgg7CYrQWo/tN+PmPRaFGI5JzH
X-Sonic-ID: C;qNQiwwdy5RGoR70U9jFv0A== M;ZhmEwwdy5RGoR70U9jFv0A==
X-Sonic-Spam-Details: 0.0/5.0 by cerberusd
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE,
	RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
Cc: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org>,
	bitcoin-xt <bitcoin-xt@googlegroups.com>
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 00:09:01 -0000


--Apple-Mail=_A2D3450F-4949-4940-ABA7-7231262C045D
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_8CE9F8A6-8BBC-4DBE-99A6-DE5E5AB69D1E"


--Apple-Mail=_8CE9F8A6-8BBC-4DBE-99A6-DE5E5AB69D1E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

> 16 million divided by 1085 transactions is almost 15Kb per transaction =
=3D unlikely, right?


The recent spam was about 15 kB per transaction, so that part sounds =
right.

The anomalous thing that I saw was that the total bitcoind process usage =
was about 50-100x higher than I would have expected if the mempool was =
the main determinant of memory usage scaling. Can you tell me how much =
memory Task Manager is reporting your bitcoin process as using both =
today and tomorrow?

On Oct 13, 2015, at 4:52 PM, Dave Scotese via bitcoin-dev =
<bitcoin-dev@lists.linuxfoundation.org> wrote:

>=20
>=20
> {
> "size" : 1085,
> "bytes" : 16151768
> }
> It has been running about a day.  I'll report tomorrow too.  This is a =
Windows 8.1 box.
> 16 million divided by 1085 transactions is almost 15Kb per transaction =
=3D unlikely, right?


--Apple-Mail=_8CE9F8A6-8BBC-4DBE-99A6-DE5E5AB69D1E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space;"><div><blockquote type=3D"cite"><div dir=3D"ltr"><table=
 border=3D"0" cellpadding=3D"0" cellspacing=3D"2" style=3D"margin: 0px; =
position: static; z-index: auto;"><tbody><tr><td style=3D"vertical-align: =
middle;"><div style=3D"margin: 0px;">16 million divided by 1085 =
transactions is almost 15Kb per transaction =3D unlikely, =
right?<br></div></td></tr></tbody></table></div></blockquote></div><div><d=
iv dir=3D"ltr"><br></div></div><div>The recent spam was about 15 kB per =
transaction, so that part sounds right.</div><div><br></div><div>The =
anomalous thing that I saw was that the total bitcoind process usage was =
about 50-100x higher than I would have expected if the mempool was the =
main determinant of memory usage scaling. Can you tell me how much =
memory Task Manager is reporting your bitcoin process as using both =
today and tomorrow?</div><br><div><div>On Oct 13, 2015, at 4:52 PM, Dave =
Scotese via bitcoin-dev &lt;<a =
href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.li=
nuxfoundation.org</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div =
dir=3D"ltr">

<table style=3D"margin: 0px; position: static; z-index: auto;" =
border=3D"0" cellpadding=3D"0" cellspacing=3D"2">
<tbody><tr>
<td><div style=3D"margin: 0px; text-indent: 0px;"><br></div></td>
<td style=3D"vertical-align:middle"><div style=3D"margin: 0px; =
text-indent: 0px;">{<br>"size" : 1085,<br>"bytes" : =
16151768<br>}</div><div style=3D"margin: 0px; text-indent: 0px;">It has =
been running about a day.&nbsp; I'll report tomorrow too.&nbsp; This is =
a Windows 8.1 box.</div><div style=3D"margin: 0px; text-indent: 0px;">16 =
million divided by 1085 transactions is almost 15Kb per transaction =3D =
unlikely, =
right?<br></div></td></tr></tbody></table></div></blockquote></div><br></b=
ody></html>=

--Apple-Mail=_8CE9F8A6-8BBC-4DBE-99A6-DE5E5AB69D1E--

--Apple-Mail=_A2D3450F-4949-4940-ABA7-7231262C045D
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJWHZ0ZAAoJEIEuMk4MG0P1NYoIAKlTKpb5crEfn+cle4wv4q+0
682jWYajDGh/jJi7M1eBfKGS0Q8dW53M2Fx7SaJ05/RU9rOkF6JzzidPGOr1qPA0
AV57bqyhDDsP3n51r1qy+cDxif/2uLhiuziXcX+e2bVqC6u5M4N8zlIOKtwV2eVz
/xE3cBVH5sOpXoL7XWGfqL5dqBWZoNUAKsjtaXMamO4BtBhT8q7y5r/7aKkiGxtw
LdULrxALjBfocnfwOs4cWh6lEy4YO+OukQGRnWdgOEPw6aeF8Hx5mr+1/ZjByZ7I
l0E0E9dRN1lY6Pcu75WNfqDKX9N0tXiXESaU+73FWtuPyEqSPJnW93IRz1HOYn8=
=V8qS
-----END PGP SIGNATURE-----

--Apple-Mail=_A2D3450F-4949-4940-ABA7-7231262C045D--