* Emacs very slow, how to investigate
@ 2014-09-10 14:46 Julien Cubizolles
2014-09-10 17:46 ` Stefan Monnier
0 siblings, 1 reply; 4+ messages in thread
From: Julien Cubizolles @ 2014-09-10 14:46 UTC (permalink / raw)
To: help-gnu-emacs
After running for a few hours, Emacs becomes sluggish, to the point that
it takes several seconds to move the focus from one window to the other,
with switch-window (keyboard or mouse). I'm running GNU Emacs 24.4.50.1
(x86_64-pc-linux-gnu, GTK+ Version 3.10.8), my typical workflow includes
latex-mode org-mode gnus helm.
Has anyone seen something similar ? How can I investigate ?
Julien.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs very slow, how to investigate
[not found] <mailman.8625.1410360420.1147.help-gnu-emacs@gnu.org>
@ 2014-09-10 15:10 ` Dan Espen
2014-10-06 12:33 ` Julien Cubizolles
0 siblings, 1 reply; 4+ messages in thread
From: Dan Espen @ 2014-09-10 15:10 UTC (permalink / raw)
To: help-gnu-emacs
Julien Cubizolles <j.cubizolles@free.fr> writes:
> After running for a few hours, Emacs becomes sluggish, to the point that
> it takes several seconds to move the focus from one window to the other,
> with switch-window (keyboard or mouse). I'm running GNU Emacs 24.4.50.1
> (x86_64-pc-linux-gnu, GTK+ Version 3.10.8), my typical workflow includes
> latex-mode org-mode gnus helm.
>
> Has anyone seen something similar ? How can I investigate ?
Haven't seen it, but I'd start by examining how much memory and CPU
Emacs is using.
The command line tool "top" is good enough.
Take memory readings just after start up then
when things slow down. Look for memory use creeping up.
--
Dan Espen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs very slow, how to investigate
2014-09-10 14:46 Julien Cubizolles
@ 2014-09-10 17:46 ` Stefan Monnier
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2014-09-10 17:46 UTC (permalink / raw)
To: help-gnu-emacs
> Has anyone seen something similar ? How can I investigate ?
M-x profiler-start RET RET
...
M-x profiler-report RET
C-u RET on the first "+" to open it up.
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs very slow, how to investigate
2014-09-10 15:10 ` Emacs very slow, how to investigate Dan Espen
@ 2014-10-06 12:33 ` Julien Cubizolles
0 siblings, 0 replies; 4+ messages in thread
From: Julien Cubizolles @ 2014-10-06 12:33 UTC (permalink / raw)
To: help-gnu-emacs
Dan Espen <despen@verizon.net> writes:
> Julien Cubizolles <j.cubizolles@free.fr> writes:
>
>> After running for a few hours, Emacs becomes sluggish, to the point that
>> it takes several seconds to move the focus from one window to the other,
>> with switch-window (keyboard or mouse). I'm running GNU Emacs 24.4.50.1
>> (x86_64-pc-linux-gnu, GTK+ Version 3.10.8), my typical workflow includes
>> latex-mode org-mode gnus helm.
>>
>> Has anyone seen something similar ? How can I investigate ?
>
> Haven't seen it, but I'd start by examining how much memory and CPU
> Emacs is using.
>
> The command line tool "top" is good enough.
> Take memory readings just after start up then
> when things slow down. Look for memory use creeping up.
I finally could track it down. Whenever emacs was crawling the process
hud-service was also at 100% cpu. This manages the Heads-Up-Display
feature of Ubuntu Unity. I ditched Ubuntu Unity for gnome-shell and now
Emacs doesn't freezes anymore !
Julien.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-10-06 12:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.8625.1410360420.1147.help-gnu-emacs@gnu.org>
2014-09-10 15:10 ` Emacs very slow, how to investigate Dan Espen
2014-10-06 12:33 ` Julien Cubizolles
2014-09-10 14:46 Julien Cubizolles
2014-09-10 17:46 ` Stefan Monnier
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).