From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#17395: GC during idle time becomes fatal Date: Mon, 05 May 2014 02:59:03 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1399413898 27800 80.91.229.3 (6 May 2014 22:04:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 May 2014 22:04:58 +0000 (UTC) Cc: 17395@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 07 00:04:52 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 1WhnSp-00038f-5m for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 May 2014 00:03:51 +0200 Original-Received: from localhost ([::1]:55692 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhCsv-0001OG-Re for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 May 2014 03:00:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhCsn-0001JZ-18 for bug-gnu-emacs@gnu.org; Mon, 05 May 2014 03:00:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhCsl-0003PP-U0 for bug-gnu-emacs@gnu.org; Mon, 05 May 2014 03:00:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhCsl-0003PK-R2 for bug-gnu-emacs@gnu.org; Mon, 05 May 2014 03:00:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WhCsg-0000ZT-Q6 for bug-gnu-emacs@gnu.org; Mon, 05 May 2014 03:00:07 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 May 2014 07:00:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17395 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17395-submit@debbugs.gnu.org id=B17395.13992731491999 (code B ref 17395); Mon, 05 May 2014 07:00:06 +0000 Original-Received: (at 17395) by debbugs.gnu.org; 5 May 2014 06:59:09 +0000 Original-Received: from localhost ([127.0.0.1]:51210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WhCrk-0000WA-93 for submit@debbugs.gnu.org; Mon, 05 May 2014 02:59:08 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:45371 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WhCrh-0000Vz-GB for 17395@debbugs.gnu.org; Mon, 05 May 2014 02:59:06 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WhCrf-0007P3-Nm; Mon, 05 May 2014 02:59:03 -0400 In-reply-to: (message from Stefan Monnier on Sun, 04 May 2014 00:00:52 -0400) 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:88671 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] IOW, the problem is not that the GC is taking longer but that the memory is filling up with many Lisp objects. You can try M-x profiler-start RET mem RET ... use Emacs for a while ... M-x profiler-report. I have tried this. I can't understand the answers, though. I did profiler-report several times, and each time it displays more than a meg. Once it reported over 7 meg. I did it in a session where I did real work, and got this: + redisplay_internal (C function) 29,776,412 0% tooltip-hide 8,215,721 0% + timer-event-handler 336,066 0% + compilation-sentinel 333,520 0% + isearch-pre-command-hook 262,144 0% internal-timer-start-idle 140,161 0% undefined 131,072 0% + compilation-filter 26,200 0% clear-transient-map 4,120 0% + clear-transient-map 1,040 0% + clear-transient-map 1,040 0% ... 0 0% + command-execute -452333584 0% But the problem had not happened. You can also try the install memory-usage (from GNU ELPA) How? -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call.