From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Triska Newsgroups: gmane.emacs.bugs Subject: bug#1504: 23.0.60; emacs daemon leaks memory Date: Sun, 07 Dec 2008 21:59:30 +0100 Message-ID: References: <87hc5hcg96.fsf@cyd.mit.edu> <87r64k3hv9.fsf@cyd.mit.edu> Reply-To: Markus Triska , 1504@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228684237 12495 80.91.229.12 (7 Dec 2008 21:10:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Dec 2008 21:10:37 +0000 (UTC) Cc: 1504@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 07 22:11:41 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L9Quh-0008It-Ow for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Dec 2008 22:11:39 +0100 Original-Received: from localhost ([127.0.0.1]:52270 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9QtW-0005cD-N3 for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Dec 2008 16:10:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L9QtS-0005ZL-AF for bug-gnu-emacs@gnu.org; Sun, 07 Dec 2008 16:10:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L9QtQ-0005VZ-C5 for bug-gnu-emacs@gnu.org; Sun, 07 Dec 2008 16:10:21 -0500 Original-Received: from [199.232.76.173] (port=46459 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9QtQ-0005VP-89 for bug-gnu-emacs@gnu.org; Sun, 07 Dec 2008 16:10:20 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:48977) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L9QtP-0006MP-PD for bug-gnu-emacs@gnu.org; Sun, 07 Dec 2008 16:10:20 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB7LAE59013264; Sun, 7 Dec 2008 13:10:14 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mB7L56x4011219; Sun, 7 Dec 2008 13:05:06 -0800 X-Loop: don@donarmstrong.com Resent-From: Markus Triska Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 07 Dec 2008 21:05:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1504 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1504-submit@emacsbugs.donarmstrong.com id=B1504.12286835888784 (code B ref 1504); Sun, 07 Dec 2008 21:05:05 +0000 Original-Received: (at 1504) by emacsbugs.donarmstrong.com; 7 Dec 2008 20:59:48 +0000 Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id mB7KxhAO008777 for <1504@emacsbugs.donarmstrong.com>; Sun, 7 Dec 2008 12:59:45 -0800 Original-Received: (qmail invoked by alias); 07 Dec 2008 20:59:37 -0000 Original-Received: from chello062178240212.3.14.tuwien.teleweb.at (EHLO mt-computer.local) [62.178.240.212] by mail.gmx.net (mp055) with SMTP; 07 Dec 2008 21:59:37 +0100 X-Authenticated: #4064391 X-Provags-ID: V01U2FsdGVkX19zNZAyLHlzGUkn6KG+YramPjzGeOZ8TXGM41oCko Dz3SmZLf60f1Pr Original-Received: by mt-computer.local (Postfix, from userid 502) id 4D0B4BDA379; Sun, 7 Dec 2008 21:59:30 +0100 (CET) In-Reply-To: <87r64k3hv9.fsf@cyd.mit.edu> (Chong Yidong's message of "Sat, 06 Dec 2008 20:15:54 -0500") X-Y-GMX-Trusted: 0 X-FuHaFi: 0.61 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 07 Dec 2008 16:10:21 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23043 Archived-At: Chong Yidong writes: > Does this memory increase persist across garbage collections? Yes, unfortunately. > Also, could you check if Emacs 22 has a similar problem After trying, I found no similar problem in Emacs 22.3 so far. The test case does not translate directly to older Emacs versions, and in all compatible cases I tested, CVS and 22.3 performed equally well and OK. For example, when I do "emacs -Q -nw -f server-start" and evaluate: (defun myedit () (run-with-timer 0.1 nil 'server-edit)) (add-hook 'after-change-major-mode-hook 'myedit) Then $ while true; do emacsclient test.txt; done does not leak memory, regardless of which version I try it with.