From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#15946: 24.3; Mac OS X, Mavericks, distnoted process Date: Tue, 14 Jan 2014 18:46:02 +0100 Message-ID: References: <013FF6AE-1615-454A-AB1E-A289EC1E67F0@till.com> <1389719733663-310127.post@n5.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1389721642 23004 80.91.229.3 (14 Jan 2014 17:47:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jan 2014 17:47:22 +0000 (UTC) Cc: 15946@debbugs.gnu.org To: canoeberry Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 14 18:47:28 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W385F-0007RZ-TV for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Jan 2014 18:47:26 +0100 Original-Received: from localhost ([::1]:49810 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W385F-0007bG-JJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Jan 2014 12:47:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W384y-0007KU-U6 for bug-gnu-emacs@gnu.org; Tue, 14 Jan 2014 12:47:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W384s-0005ti-N7 for bug-gnu-emacs@gnu.org; Tue, 14 Jan 2014 12:47:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36597) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W384s-0005tQ-KL for bug-gnu-emacs@gnu.org; Tue, 14 Jan 2014 12:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W384s-0007ny-0b for bug-gnu-emacs@gnu.org; Tue, 14 Jan 2014 12:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Jan 2014 17:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 15946-submit@debbugs.gnu.org id=B15946.138972157229909 (code B ref 15946); Tue, 14 Jan 2014 17:47:01 +0000 Original-Received: (at 15946) by debbugs.gnu.org; 14 Jan 2014 17:46:12 +0000 Original-Received: from localhost ([127.0.0.1]:50616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W3843-0007mK-6c for submit@debbugs.gnu.org; Tue, 14 Jan 2014 12:46:11 -0500 Original-Received: from mailfe07.swip.net ([212.247.154.193]:39895 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W383y-0007m7-L3 for 15946@debbugs.gnu.org; Tue, 14 Jan 2014 12:46:07 -0500 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe07.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 468236845; Tue, 14 Jan 2014 18:46:04 +0100 In-Reply-To: <1389719733663-310127.post@n5.nabble.com> X-Mailer: Apple Mail (2.1827) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:83484 Archived-At: Hello. 14 jan 2014 kl. 18:15 skrev canoeberry : > I have been observing this since Mavericks was released. I did not = make a > connection between distnoted and emacs, other than the following > observation: both are leaking memory. >=20 > For the first time ever I am finding that my emacs process slowly = grows in > size. I can be editing a small handful of files and be using 500Mb of = real > memory. Never seen that before, ever. >=20 > Distnoted grows much faster, on the order of 1Gb real memory / day. = Killing > that process and having another start up automatically causes some OS = X > features to stop working, e.g., it is not possible to enter Time = Machine or > even see the status of your Time Machine backups anymore. >=20 > I have seen distnoted peg the CPU when Time Machine backups are = running or > recently completed. Meanwhile, the menubar no longer animates the > in-progress backup, which I assume is not on purpose and possibly even > related to the issue. >=20 I think that is so OSX can save a bit of power. > I do not use shells in emacs nowadays. >=20 > I am running emacs from emacsformacosx. >=20 > I have filed bugs with Apple. >=20 > If anybody has any suggestions on how to figure out what is causing = Emacs to > grow in size, I will happily run some experiments for you. I tried to = figure > out how to profile emacs memory but it was not very obvious to me what = to > do. The obvious thing is to run leaks on Emacs (man leaks) after a garbage = collection has been made (M-x garbage-collect). Leaks may report leaks = which in fact are not due to uncollected garbage. Jan D.