GNU bug report logs - #17713
24.3.91; Emacs hung in GC?

Previous Next

Package: emacs;

Reported by: Geoff Shannon <geoffpshannon <at> gmail.com>

Date: Fri, 6 Jun 2014 07:11:02 UTC

Severity: normal

Tags: moreinfo

Found in version 24.3.91

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #38 received at 17713 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Geoff Shannon <geoffpshannon <at> gmail.com>
Cc: 17713 <at> debbugs.gnu.org
Subject: Re: bug#17713: First portion of `bt full`
Date: Fri, 06 Jun 2014 11:21:31 +0300
> From: Geoff Shannon <geoffpshannon <at> gmail.com>
> Date: Fri, 6 Jun 2014 01:06:43 -0700
> Cc: 17713 <at> debbugs.gnu.org
> 
> > Did you customize any GC-related options, like gc-cons-threshold?
> 
> I didn't personally, but I use emacs Prelude which does this:
> 
> (setq gc-cons-threshold 50000000)

That's 50MB!  The default is 400000 (400K).

> I'm guessing that's likely the cause of this?

Could well be.  It means Emacs invokes GC after it has created at
least 50MB worth of Lisp objects.  Wading through all of them and
finding those which can be discarded will indeed take a while.

I suggest you remove that customization.  The default is well tuned,
and you will hardly ever notice GC going on.




This bug report was last modified 9 years and 148 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.