[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs memory management and sluggishness
From: |
Eli Zaretskii |
Subject: |
Re: Emacs memory management and sluggishness |
Date: |
Sun, 28 Jul 2019 05:38:25 +0300 |
> From: Óscar Fuentes <address@hidden>
> Cc: address@hidden
> Date: Sun, 28 Jul 2019 01:52:19 +0200
>
> It occurred to me to take a look at M-x list-timers and it showed about
> 700 (seven hundred) of them. The most frequent was about 300 repetitions
> of
>
> * 0.05 t aggressive-indent--indent-if-changed
>
> which is created by aggressive-indent-mode, that I use on a subset of my
> buffers, then several dozens of
>
> * 0.50 t pdf-cache--prefetch-start
>
> which comes from pdf-tools, and dozens of
>
> 6467.37 - password-cache-remove
>
> (the Next number varies, of course). So I used cancel-function-timers to
> get rid of all the instances of those 3 examples and the lag while
> typing text went away.
Yes, excess number of timers can produce lags.
> Now I'll do what you advised: fresh build, fresh instance and watch for
> memory (and timers) increase.
Suggest to start a bug report and accumulate all the data there.
- Emacs memory management and sluggishness, Óscar Fuentes, 2019/07/26
- Re: Emacs memory management and sluggishness, Eli Zaretskii, 2019/07/27
- Re: Emacs memory management and sluggishness, Óscar Fuentes, 2019/07/27
- Re: Emacs memory management and sluggishness, Eli Zaretskii, 2019/07/27
- Re: Emacs memory management and sluggishness, Óscar Fuentes, 2019/07/27
- Re: Emacs memory management and sluggishness,
Eli Zaretskii <=
- Re: Emacs memory management and sluggishness, Joseph Mingrone, 2019/07/31
- Re: Emacs memory management and sluggishness, Óscar Fuentes, 2019/07/31
- Re: Emacs memory management and sluggishness, Joseph Mingrone, 2019/07/31
- Re: Emacs memory management and sluggishness, Óscar Fuentes, 2019/07/31
- Re: Emacs memory management and sluggishness, Joseph Mingrone, 2019/07/31
- Re: Emacs memory management and sluggishness, Eli Zaretskii, 2019/07/31