1 line
3.3 KiB
Plaintext
1 line
3.3 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p><strong>UPDATE:</strong></p> <p>I tried installing emacs from <a href="https://github.com/konstare/emacs-gcc-pgtk">https://github.com/konstare/emacs-gcc-pgtk</a>, as <a href="/u/jmite">/u/jmite</a> suggested and, so far, it seems to have solved the problem. If so, I guess it's related to current emacs git.</p> <p>I'll post further updates if relevant. Thanks all for your help!</p> <p>​</p> <p>Hi all.</p> <p>I have this very strange problem and I hope someone can help me fix it (or least find out why it happens).</p> <p>I'm using Doom emacs. I've submitted an <a href="https://github.com/hlissner/doom-emacs/issues/5794">issue</a> with this problem but <a href="/u/hlissner">/u/hlissner</a> marked it invalid for insufficient information. I completely understand because the information I have is indeed very vague but I don't have the expertise to provide more. He pointed a discourse thread with further information I could try but I've had no luck...</p> <p>So what happens is emacs starts lagging very badly. Even just moving the cursor up and down is painful. It doesn't lag when I start it but after a short while it begins to lag more and more to the point where it simply becomes unusable. I have to keep restarting... Like every minute or so.</p> <p>Can someone help me make something out of this? Or give some pointers on what to do to collect more information?</p> <p>Thanks in advance.</p> <p>​</p> <p>The only thing I can provide is a profiling report (this is just moving the cursor).</p> <p>The cpu report:</p> <pre><code> 390 82% - command-execute 390 82% - call-interactively 390 82% - funcall-interactively 284 60% - previous-line 284 60% - line-move 218 46% line-move-visual 103 21% - windmove-right 103 21% - apply 103 21% - +popup--ignore-window-parameters-a 103 21% - let 103 21% - let* 103 21% - unwind-protect 103 21% - progn 103 21% - apply 103 21% - #<compiled 0x71cc7e0ad285e59> 103 21% - windmove-do-window-select 103 21% - windmove-find-other-window 103 21% window-in-direction 3 0% + counsel-M-x 44 9% + ... 35 7% + timer-event-handler 4 0% redisplay_internal (C function) </code></pre> <p>And the memory report</p> <pre><code> 4,001,675 94% - command-execute 4,001,675 94% - call-interactively 4,001,675 94% - funcall-interactively 3,194,895 75% - eval-last-sexp 3,194,895 75% - apply 3,194,895 75% - #<compiled 0x12342dc99b38e559> 3,194,895 75% - elisp--eval-last-sexp 3,191,847 75% - eval 3,191,216 75% profiler-stop 631 0% profiler-start 2,048 0% + elisp--preceding-sexp 1,000 0% elisp--eval-last-sexp-print-value 749,248 17% - previous-line 749,248 17% - line-move 608,140 14% - line-move-visual 164 0% - posn-at-point 164 0% + eval 54,932 1% + windmove-right 1,540 0% + next-line 1,060 0% + windmove-left 184,855 4% + redisplay_internal (C function) 22,548 0% + #<compiled -0x3d826d111e7c954> 20,111 0% + timer-event-handler 1,440 0% + gcmh-register-idle-gc 800 0% + flycheck-maybe-display-error-at-point-soon 0 0% ... </code></pre> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/_gjm_"> /u/_gjm_ </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/r0byqa/extreme_lag/">[link]</a></span>   <span><a href="https://www.reddit.com/r/emacs/comments/r0byqa/extreme_lag/">[comments]</a></span> |