* Emacs becomes CPU-hungry after some runnig period.
@ 2013-01-27 12:34 kostafey
2013-01-27 13:04 ` kostafey
2013-01-27 16:27 ` Peter Dyballa
0 siblings, 2 replies; 4+ messages in thread
From: kostafey @ 2013-01-27 12:34 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 581 bytes --]
After some running period (about 10-30 minutes) emacs needs
more and more CPU for simplest operations, like self-insert-command,
wich runs about a seciond.
Restarting solves this problem for some minutes.
This affects emacs 24.2.0 (both GTK and lucid) running on Linux
Munt and Ubuntu (from ppa:cassou/emacs).
The same version of emacs 24.2 running on Windows is free
of this problem.
emacs 24.3.50 (from the same ppa:cassou/emacs) is free of this problem too.
Even GTK version works quickly. Unfortunately, it is unstable yet.
Is it possible to solve this performance problem?
[-- Attachment #2: Type: text/html, Size: 1351 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs becomes CPU-hungry after some runnig period.
2013-01-27 12:34 Emacs becomes CPU-hungry after some runnig period kostafey
@ 2013-01-27 13:04 ` kostafey
2013-01-27 16:27 ` Peter Dyballa
1 sibling, 0 replies; 4+ messages in thread
From: kostafey @ 2013-01-27 13:04 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 118 bytes --]
Official emacs 24.2 from http://ftp.gnu.org/pub/gnu/emacs/
built from source with GTK interface has the same problem.
[-- Attachment #2: Type: text/html, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs becomes CPU-hungry after some runnig period.
2013-01-27 12:34 Emacs becomes CPU-hungry after some runnig period kostafey
2013-01-27 13:04 ` kostafey
@ 2013-01-27 16:27 ` Peter Dyballa
1 sibling, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2013-01-27 16:27 UTC (permalink / raw)
To: kostafey; +Cc: help-gnu-emacs
Am 27.01.2013 um 13:34 schrieb kostafey:
> emacs 24.3.50 (from the same ppa:cassou/emacs) is free of this problem too.
> Even GTK version works quickly. Unfortunately, it is unstable yet.
"Unstable" means that the code basis is still in development. And nothing else. The GNU Emacs 24.3.50 snapshots I used where mostly rock-steady. If not, then I could update the next day and had again a reliable tool.
You can also try the "pretest" of GNU Emacs 24.3: GNU Emacs 24.2.92, available as:
ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-24.2.92.tar.gz
ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-24.2.92.tar.xz
You'll need to configure, compile, and install yourself…
--
Greetings
Pete
Let's face it; we don't want a free market economy either.
– James Farley, president, Coca-Cola Export Corp., 1959
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.18434.1359290089.855.help-gnu-emacs@gnu.org>]
* Re: Emacs becomes CPU-hungry after some runnig period.
[not found] <mailman.18434.1359290089.855.help-gnu-emacs@gnu.org>
@ 2013-01-28 9:52 ` Michael Heerdegen
0 siblings, 0 replies; 4+ messages in thread
From: Michael Heerdegen @ 2013-01-28 9:52 UTC (permalink / raw)
To: help-gnu-emacs
kostafey <kostafey@gmail.com> writes:
> After some running period (about 10-30 minutes) emacs needs
> more and more CPU for simplest operations, like self-insert-command,
> wich runs about a seciond.
> Restarting solves this problem for some minutes.
Dunno why you see that problem. When I faced such a slowness, most of
the time, there were too many markers or overlays existent in a buffer.
Does the phenomenon you describe appear in all buffers, or are only some
buffers affected?
Anyway, a good way to locate the cause of such problems is using
profiler.el, the Emacs's native profiler.
When the slowness begins, type M-x profiler-start and choose "cpu".
Perform some stuff affected, like self-insert-command or scrolling.
Then type M-x profiler-report. You'll be presented a tree of functions
that were called, together with their cpu usage. In your case, I guess
that redisplay_internal will have used most of the cpu time. You can
expand parts of the tree if you put the cursor on the "+" and hit RET to
find out what stuff caused the slowness.
Michael.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-01-28 9:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-27 12:34 Emacs becomes CPU-hungry after some runnig period kostafey
2013-01-27 13:04 ` kostafey
2013-01-27 16:27 ` Peter Dyballa
[not found] <mailman.18434.1359290089.855.help-gnu-emacs@gnu.org>
2013-01-28 9:52 ` 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).