From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#16995: 24.3; CPU usage spikes to 100% for minutes at a time Date: Thu, 13 Mar 2014 05:49:14 +0200 Message-ID: <8361nioj0l.fsf@gnu.org> References: <4744FEC4-6132-4CEE-9CE0-47A0BCBC36D7@beekhof.net> <83d2hro0hr.fsf@gnu.org> <37089DA4-7533-4566-814E-6AC8857123CB@beekhof.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1394682611 2310 80.91.229.3 (13 Mar 2014 03:50:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Mar 2014 03:50:11 +0000 (UTC) Cc: 16995@debbugs.gnu.org To: Andrew Beekhof Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 13 04:50:18 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 1WNwev-0006Pk-72 for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Mar 2014 04:50:17 +0100 Original-Received: from localhost ([::1]:36873 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNweu-0001tz-R1 for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Mar 2014 23:50:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNwen-0001ha-0E for bug-gnu-emacs@gnu.org; Wed, 12 Mar 2014 23:50:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNweh-00047d-UD for bug-gnu-emacs@gnu.org; Wed, 12 Mar 2014 23:50:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNweh-000472-Rt for bug-gnu-emacs@gnu.org; Wed, 12 Mar 2014 23:50:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WNweh-0001g2-A1 for bug-gnu-emacs@gnu.org; Wed, 12 Mar 2014 23:50:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Mar 2014 03:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16995 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16995-submit@debbugs.gnu.org id=B16995.13946825666376 (code B ref 16995); Thu, 13 Mar 2014 03:50:03 +0000 Original-Received: (at 16995) by debbugs.gnu.org; 13 Mar 2014 03:49:26 +0000 Original-Received: from localhost ([127.0.0.1]:35187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WNwe5-0001ej-Ar for submit@debbugs.gnu.org; Wed, 12 Mar 2014 23:49:25 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:63538) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WNwe2-0001eY-RJ for 16995@debbugs.gnu.org; Wed, 12 Mar 2014 23:49:24 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0N2C00A00V22SG00@a-mtaout23.012.net.il> for 16995@debbugs.gnu.org; Thu, 13 Mar 2014 05:49:21 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N2C00AICVY8QZ30@a-mtaout23.012.net.il>; Thu, 13 Mar 2014 05:49:21 +0200 (IST) In-reply-to: <37089DA4-7533-4566-814E-6AC8857123CB@beekhof.net> X-012-Sender: halo1@inter.net.il 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:86807 Archived-At: > From: Andrew Beekhof > Date: Thu, 13 Mar 2014 11:30:15 +1100 > Cc: 16995@debbugs.gnu.org > > > The backtrace you posted indicates that Emacs is in garbage > > collection. To see if this is indeed the cause of those "lockups", > > could you please customize garbage-collection-messages to a non-nil > > value, and then see if every time Emacs locks up there's a message in > > the echo area announcing GC? > > It took about 2 hours of solid editing to hit it again this morning, but eventually I did. > > For the first while I saw 'Garbage collecting...done', with the 'done' part flashing. > > Then it switched to 'Garbage collecting...' > > At some point I must have hit C-l (goto-line) because after I came back from making breakfast (I wasn't exaggerating when I said 'minutes') it was prompting for a line number. > Pressing C-g (cancel) at this point resulted in the buffer flashing between displaying 'Quit' and 'Garbage collecting...' > > After it stopped doing this, I used the pointer to move the cursor which got me back to the 'Garbage collecting...' phase followed by 'Garbage collecting...done', with the 'done' part flashing again. > > Top says: > > 22971 beekhof 20 0 658092 61636 15584 R 99.1 0.8 37:03.28 emacs > > (note that its still the same process from yesterday) > > > If I now switch to a .c file, things appear normal. > Switching back to the .py file and doing anything results in more garbage collection. So I guess the question now becomes why does Python mode conses so many Lisp objects that it triggers GC so frequently.