From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Richard Stallman <rms@gnu.org>
Cc: 17395@debbugs.gnu.org
Subject: bug#17395: GC during idle time becomes fatal
Date: Sun, 04 May 2014 00:00:52 -0400 [thread overview]
Message-ID: <jwvk3a2mc11.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <E1WgUsA-0004J2-Au@fencepost.gnu.org> (Richard Stallman's message of "Sat, 03 May 2014 04:00:38 -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
next prev parent reply other threads:[~2014-05-04 4:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-03 8:00 bug#17395: GC during idle time becomes fatal Richard Stallman
2014-05-03 8:23 ` Eli Zaretskii
2014-05-04 4:11 ` Richard Stallman
2014-05-04 4:00 ` Stefan Monnier [this message]
2014-05-05 6:59 ` Richard Stallman
2014-05-05 7:00 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvk3a2mc11.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=17395@debbugs.gnu.org \
--cc=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).