Timeline for How can I troubleshoot a very slow Emacs?
Current License: CC BY-SA 3.0
22 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 25, 2021 at 6:36 | answer | added | Throw Away Account | timeline score: 1 | |
Jul 5, 2020 at 7:48 | answer | added | lhy7889678 | timeline score: 6 | |
Oct 29, 2017 at 15:18 | comment | added | jww |
Let me toss a "mee too" into the list of fixes... I build a number of programs from sources because I test on retired platforms like CentOS 5 or ransomware platforms like Solaris. I believe my libreadline or ssh was built incorrectly and it was suffering from transport layer delays. I'm pretty sure it was a Readline 7 problem since its makefile required a lot of patching.
|
|
Apr 17, 2015 at 17:33 | comment | added | Adam | @MostlyHarmless I think that the problem was the autocompletion. But I can't be sure about the reason as this post was in December so I may not remember correctly. | |
Apr 16, 2015 at 8:07 | comment | added | MostlyHarmless | @Adam: could you finally find out the reason for the slowdown? What was it? | |
Dec 16, 2014 at 19:49 | comment | added | Adam | @Malabarba thank you! I hadn't realised that it would be vague at first. I thought that the solution would be clear enough. I was mistaken, but thanks to your answer I am pretty sure that I will be able to troubleshoot my Emacs. | |
Dec 16, 2014 at 19:47 | vote | accept | Adam | ||
Dec 16, 2014 at 12:05 | comment | added | Malabarba | The sheer number of suggestions in these comments shows that this question is a little too vague. I have reworded the title to ask for instructions, instead of a solution. I've also provided an answer accordingly. Please ask a new question once you have followed those instructions, or leave a comment if they weren't clear. | |
Dec 16, 2014 at 11:54 | history | edited | Malabarba | CC BY-SA 3.0 |
added 85 characters in body; edited title
|
Dec 16, 2014 at 11:51 | answer | added | Malabarba | timeline score: 90 | |
Dec 16, 2014 at 11:00 | review | Low quality posts | |||
Dec 16, 2014 at 11:46 | |||||
Dec 14, 2014 at 20:44 | comment | added | grettke | First establish your desired performance criteria so you can quantify what you mean by slowness. Then comment out the 2nd 50% of your init to see if you get the desired performance. If that doesn't work, then comment out more. Eventually you will identify the code that is costly. | |
Dec 14, 2014 at 19:42 | comment | added | wvxvw | Also, Emacs can perform very badly when it encounters very long lines, so check if that's not the case (very long would be several thousands characters long). | |
Dec 14, 2014 at 19:40 | comment | added | wvxvw | Oh, I just posted this reference in another thread: gnu.org/software/emacs/manual/html_node/elisp/Profiling.html - this would be a good start. Also, a shot in the dark: try disabling font-lock gnu.org/software/emacs/manual/html_node/emacs/Font-Lock.html - this is my first usual suspect (which often justifiably takes up most of the CPU cycles). | |
Dec 14, 2014 at 19:22 | comment | added | Adam | @Dave I didn't have any cpu/memory consuming program open, and nothing that I don't open every day. | |
Dec 14, 2014 at 19:18 | comment | added | Adam |
@lawlist I have deactivated linum-mode days ago after I had that problem goo.gl/JOCFmU.
|
|
Dec 14, 2014 at 18:37 | comment | added | Dave | What is happening on your computer? How much memory is being used? How active is your cpu and which programs are responsible for most of its use? The problem may well be some other program. | |
Dec 14, 2014 at 18:37 | comment | added | lawlist |
linum-mode slows down performance in large buffers. nlinum-mode written by Stefan is better for larger buffers.
|
|
Dec 14, 2014 at 18:24 | history | edited | Adam | CC BY-SA 3.0 |
added 41 characters in body
|
Dec 14, 2014 at 2:59 | history | edited | Adam | CC BY-SA 3.0 |
added 414 characters in body
|
Dec 14, 2014 at 1:46 | comment | added | lawlist |
C-h m will reveal major mode and all minor modes that are active. You can slowly disable each minor-mode until you track down the cause. It could be the major mode itself, but the minor modes are the most likely suspects. Without specifying which modes you are using, anyone here would be just stabbing in the dark at what is going on with your issue. I have a rare situation that occurs with some special images -- e.g., when someone e-mails me something with a telephone symbol or other special symbols in the iPhone -- but that is an isolated slow-down issue caused by special symbols.
|
|
Dec 14, 2014 at 1:39 | history | asked | Adam | CC BY-SA 3.0 |