GNU bug report logs - #17395
GC during idle time becomes fatal

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Sat, 3 May 2014 08:01:02 UTC

Severity: normal

Merged with 17406, 28279

Found in version 25.2

Fixed in version 26.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Richard Stallman <rms <at> gnu.org>
Cc: 17395 <at> debbugs.gnu.org
Subject: bug#17395: GC during idle time becomes fatal
Date: Sun, 04 May 2014 00:00:52 -0400
> (It is a bug that C-g C-g during GC causes a crash.)

Indeed.  And not one I've heard before.

> Over time, GC takes longer and longer.  Once I had to kill Emacs
> because it went a few minutes without finishing a GC.  A couple of
> times, it crashed saying memory was full.

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.
Tho this will only shows us where memory is allocated, which will
contain lots of places where that memory is later correctly reclaimed.
You can also try the install memory-usage (from GNU ELPA) and then M-x
memory-usage RET.  Again, it won't give us very much info, but might
still be helpful.


        Stefan




This bug report was last modified 7 years and 236 days ago.

Previous Next


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