From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: fixing memory leaks before the pretest Date: Sat, 07 Jan 2012 23:49:01 +0800 Message-ID: <87sjjrzf6a.fsf@gnu.org> References: <87vcookmxd.fsf@gnu.org> <87lipjr5jk.fsf_-_@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1325951366 30539 80.91.229.12 (7 Jan 2012 15:49:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 7 Jan 2012 15:49:26 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 07 16:49:20 2012 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 1RjYWE-000890-GE for ged-emacs-devel@m.gmane.org; Sat, 07 Jan 2012 16:49:18 +0100 Original-Received: from localhost ([::1]:42514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjYWD-0007QE-El for ged-emacs-devel@m.gmane.org; Sat, 07 Jan 2012 10:49:17 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:36622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjYW7-0007Q8-T5 for emacs-devel@gnu.org; Sat, 07 Jan 2012 10:49:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjYW6-00084T-WC for emacs-devel@gnu.org; Sat, 07 Jan 2012 10:49:11 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:42370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjYW6-00084P-TD for emacs-devel@gnu.org; Sat, 07 Jan 2012 10:49:10 -0500 Original-Received: from bb220-255-176-96.singnet.com.sg ([220.255.176.96]:48864 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1RjYW6-0001D5-50 for emacs-devel@gnu.org; Sat, 07 Jan 2012 10:49:10 -0500 In-Reply-To: <87lipjr5jk.fsf_-_@lifelogs.com> (Ted Zlatanov's message of "Sat, 07 Jan 2012 08:44:15 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:147451 Archived-At: Ted Zlatanov writes: > I am seeing memory growth on GNU/Linux with Gnus and GnuTLS that I > don't see otherwise without Gnus, so it's faintly possible GnuTLS is > not the determining factor. I have gone over the gnutls.c code and > don't see where the GnuTLS glue could be leaking. Do you have a test case for, e.g. creating and closing a few thousand GnuTLS connections to a localhost running apache with https and seeing if there is any memory impact? That would be the first thing I would try, but I haven't had the time to look into this.