unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* High CPU load after pressing arbitrary key (mostly in C mode)
@ 2011-08-17 15:56 Michal Sojka
  2011-08-18 11:59 ` suvayu ali
  2011-08-19 20:48 ` Ian Zimmerman
  0 siblings, 2 replies; 9+ messages in thread
From: Michal Sojka @ 2011-08-17 15:56 UTC (permalink / raw)
  To: Emacs mailing list

Hi all,

I experience a weird a problem. It appears more or less randomly,
typically after using emacs for several hours. The responsiveness of emacs
starts to be very slow. Whenever I press a key, for example to type some
character, it appears on the screen in let say half a second. By
pressing several keys fast, the CPU load goes to 100%.

This happens mostly in C mode. By switching to another mode, the
response is better but occasionally there is a long delay even in the
other modes.

I workaround this by exiting emacs and starting it again. Is there any
way how to debug such problems. For example tracing all functions that
are called when a key is pressed?

I tried to switch off font-lock-mode, but it didn't change anything.

My emacs is:
GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.4), Debian.

Thanks,
Michal



^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <mailman.1500.1313609268.939.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2011-08-22 14:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-17 15:56 High CPU load after pressing arbitrary key (mostly in C mode) Michal Sojka
2011-08-18 11:59 ` suvayu ali
2011-08-18 12:08   ` Michal Sojka
2011-08-18 12:17     ` suvayu ali
2011-08-18 12:43       ` Michal Sojka
2011-08-18 13:11         ` suvayu ali
2011-08-19 20:48 ` Ian Zimmerman
2011-08-22 14:49   ` Michal Sojka
     [not found] <mailman.1500.1313609268.939.help-gnu-emacs@gnu.org>
2011-08-19 17:15 ` Michael Heerdegen

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).