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 E87ED90 for ; Wed, 21 Oct 2015 07:29:27 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mx-out01.mykolab.com (mx01.mykolab.com [95.128.36.1]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 1BF0FE3 for ; Wed, 21 Oct 2015 07:29:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at kolabnow.com X-Spam-Score: -2.183 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, MIME_HEADER_CTYPE_ONLY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.1 Received: from mx03.mykolab.com (mx03.mykolab.com [10.20.7.101]) by mx-out01.mykolab.com (Postfix) with ESMTPS id EB06F615DC; Wed, 21 Oct 2015 09:29:23 +0200 (CEST) From: Tom Zander To: bitcoin-xt@googlegroups.com, Bitcoin Dev Date: Wed, 21 Oct 2015 08:29:19 +0100 Message-ID: <1445414983.m7gvNPDAo8@garp> In-Reply-To: <984D5FD5-9871-43FC-BD44-5F2E6EFD0671@toom.im> References: <99C42DE7-814A-48F8-AB28-A5ADD77A9FD9@toom.im> <1FE17DEB-8F77-4A60-A644-46A4F97D0E24@toom.im> <984D5FD5-9871-43FC-BD44-5F2E6EFD0671@toom.im> Content-Type: multipart/signed; boundary="nextPart1848417.WEtRHy8Cti"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2015 07:29:28 -0000 --nextPart1848417.WEtRHy8Cti Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Tuesday 20 Oct 2015 20:01:16 Jonathan Toomim wrote: > claimed that he had this memory usage issue on Linux, but not on Mac OS X, > under a GBT workload in both situations. If this is true, that would > suggest this might be a fragmentation issue due to poor memory allocation. Please make sure you measure your memory usage correctly on Linux, it is notoriously easy to get misleading info from tools like top. I use this one on Linux. $cat ~/bin/showmemusage #!/bin/sh if test -z "$1"; then echo "need a pid" exit fi mem=`echo 0 $(cat /proc/$1/smaps | grep Pss | awk '{print $2}' | \ sed 's#^#+#' ) | bc` echo "$mem KB" --nextPart1848417.WEtRHy8Cti Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJWJz7SAAoJEMKlVF6pHMrnmCoQAKrH10iYL6q2nOqKZfehuvzq VOHpk5m4bRkpKKggb2n8t9WzikghfuGFbXvtlJbTwUhIr3ktGT8N6uNI9xz4Lb53 bQ3e/gpOzbhfe+/AkOtsR3uQoE8K/JF9YFSgHaWhp3t3863Mn9pwJAvgChyumIu9 MVIlr9bwYHmMVwmRUj0TQyLEPuNRMDagovcADcIO8grb+Nh29yWyxegW7IEblxW+ xh1T8k4CGsoNJTAzYJw1L6n1EZBVa4yP4onF9ZOmuuz25HaPmORGxkVym2bqW2Ir Htd2qmHblWDI2iJpOkFxOUqCvk9nYYkRN113C5KGWcwdkKegUSiUrE9r0JGCHU2b PCZ+k4lSlV2TJDEwx8lgBaTvkGvRfaHr7kjf0eXVVbI7IV3NnzFtNPHQKpj38tVM DhpoAbk0URqgCemIT57pXaDzTFtRyHi3+n0k9SKV4xi6Eyl2/GOQMq5jGWvL6MKe N/3s5cUDQOWx5VGsKTA/8QFVCwwHckGZNvqE/C5Qfx4IibIJyfEdizAETz+/2wSC 1m0/TW0QeKuuaU9CpiwtMJM3IN5E7so7WMHkXE3S9U0hoY9YLG9tejPnLq301P+S 3i2TpiytGsCUVX2m1r7Edxadp37yCYyQa3FH7cDPvl6PE8fAoNzrX27fwAqI3qUO ds+3ZRgX1aTxtEW3pwwW =rkhr -----END PGP SIGNATURE----- --nextPart1848417.WEtRHy8Cti--