From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nix Newsgroups: gmane.emacs.devel Subject: Re: gnutls memory leak [Was: Re: Emacs bzr memory footprint] Date: Fri, 28 Oct 2011 18:29:03 +0100 Message-ID: <87k47pnhy8.fsf@spindle.srvr.nix> References: <83fwix2osa.fsf@gnu.org> <0B3EE7A4-D0D6-4D1E-ADC4-0BEE68F179B2@mit.edu> <87fwivwp37.fsf@turtle.gmx.de> <87sjmvpmd2.fsf@lifelogs.com> <87aa93wmc4.fsf@turtle.gmx.de> <87sjmnrdjw.fsf@spindle.srvr.nix> <87ty73mc0m.fsf@spindle.srvr.nix> <87mxcp2cv0.fsf@spindle.srvr.nix> <87k47rx0t6.fsf_-_@gnu.org> <87lis79d7l.fsf@gnu.org> <87sjmeayb8.fsf@lifelogs.com> <874nytz5i1.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319822960 8119 80.91.229.12 (28 Oct 2011 17:29:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 28 Oct 2011 17:29:20 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 28 19:29:16 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RJqF2-0003aJ-9i for ged-emacs-devel@m.gmane.org; Fri, 28 Oct 2011 19:29:16 +0200 Original-Received: from localhost ([::1]:46562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJqF1-00084W-LJ for ged-emacs-devel@m.gmane.org; Fri, 28 Oct 2011 13:29:15 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJqEz-00084D-7r for emacs-devel@gnu.org; Fri, 28 Oct 2011 13:29:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJqEy-0006ac-5Y for emacs-devel@gnu.org; Fri, 28 Oct 2011 13:29:13 -0400 Original-Received: from icebox.esperi.org.uk ([81.187.191.129]:49791 helo=mail.esperi.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJqEx-0006a1-RK for emacs-devel@gnu.org; Fri, 28 Oct 2011 13:29:12 -0400 Original-Received: from esperi.org.uk (nix@spindle.srvr.nix [192.168.14.15]) by mail.esperi.org.uk (8.14.5/8.14.5) with ESMTP id p9SHT3Ni031965 for ; Fri, 28 Oct 2011 18:29:03 +0100 Original-Received: (from nix@localhost) by esperi.org.uk (8.14.5/8.14.5/Submit) id p9SHT30e032244; Fri, 28 Oct 2011 18:29:03 +0100 Emacs: because Hell was full. In-Reply-To: <874nytz5i1.fsf@lifelogs.com> (Ted Zlatanov's message of "Fri, 28 Oct 2011 08:04:54 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-DCC-URT-Metrics: spindle 1060; Body=1 Fuz1=1 Fuz2=1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 81.187.191.129 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:145722 Archived-At: On 28 Oct 2011, Ted Zlatanov said: > Nix, Carsten, Sven, could you give a recent build a try? Running 106207, started yesterday, used only for Gnus, I see: Garbage collection stats: ((1750068 . 1022571) (81061 . 289) (17721 . 11917) 87140622 1911189 (1639 . 5992) (48873 . 14329) (459662 . 153301)) => 28001088+16361136 bytes in cons cells 3890928+13872 bytes in symbols 708840+476680 bytes in markers 26224+95872 bytes in floats 2736888+802424 bytes in intervals 14709184+4905632 bytes in string headers 87140622 bytes of string chars 87140622 bytes of vector slots Total bytes in lisp objects: 161780579 (live 139124963, dead 22655616) Buffer ralloc memory usage: 107 buffers 8877238 bytes total (48855 in gaps) USER RSS VSZ nix 335476 627048 0000000001e19000 312492K rw--- [ anon ] 00007f3ab020e000 4K rw--- [ anon ] 00007f3ab4000000 132K rw--- [ anon ] 00007f3ab4021000 65404K ----- [ anon ] 00007f3ab839a000 4K rw--- [ anon ] 00007f3ab8aec000 56K rw--- [ anon ] 00007f3ab92c6000 1292K rw--- [ anon ] 00007f3ab940c000 4K rw--- [ anon ] 00007f3abac9c000 4K ----- [ anon ] 00007f3abac9d000 32768K rw--- [ anon ] 157988Kb + 8669Kb <<< 312492Kb (definitely the main heap), and this has gone up by >150Mb since steady-state usage began yesterday. The leak is still there, it seems. I'll run it under valgrind and see what I can see. -- NULL && (void)