[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS emacs is sometimes terribly sluggish

From: Kim F. Storm
Subject: Re: CVS emacs is sometimes terribly sluggish
Date: Fri, 17 Dec 2004 16:56:53 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Klaus Zeitler <address@hidden> writes:

> Every so often (so far I haven't seen any pattern) CVS emacs becomes really
> slow, even though I'm performing only really simple tasks (entering a few
> characters, switching windows or frames, positioning the pointer, all these
> commands then take a few seconds).  A ps command then shows me that emacs is
> running somewhere between 30% and 50% CPU for no apparent reason. I have a
> sneaking suspicion that it may have to do something with multiple frames. I
> use typically from 3 to 5 or 6 frames and I've noticed that, when I delete all
> frames but one, emacs CPU usage goes down drastically. I'm using emacs under
> Solaris 5.8.
> Has anybody seen something similar and how would I go about investigating this
> behavior? 

Run emacs under gdb, and break it when it starts use up cpu cycles for
no apparent reason.

Then look at the output of


If that doesn't give you a clue, try stepping through some code
to see where it is semi-looping.

For more instructions look at etc/DEBUG.

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

[Prev in Thread] Current Thread [Next in Thread]