From: Richard Stallman <rms@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 17395@debbugs.gnu.org
Subject: bug#17395: GC during idle time becomes fatal
Date: Mon, 05 May 2014 02:59:03 -0400 [thread overview]
Message-ID: <E1WhCrf-0007P3-Nm@fencepost.gnu.org> (raw)
In-Reply-To: <jwvk3a2mc11.fsf-monnier+emacsbugs@gnu.org> (message from Stefan Monnier on Sun, 04 May 2014 00:00:52 -0400)
[[[ 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.
next prev parent reply other threads:[~2014-05-05 6:59 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
2014-05-05 6:59 ` Richard Stallman [this message]
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=E1WhCrf-0007P3-Nm@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=17395@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).